Getting Started
Installation

Installation

How to start using Placehold in your projects.

Placehold is primarily an API service, so there is nothing to "install" in the traditional sense of an npm package. However, you can easily integrate it into your projects by using the API endpoints directly in your HTML `img` tags or fetching data via JavaScript.

Quick Start

Simply use the URL in your image source:

<img src="https://placehold.harshsandhu.com/api/img" alt="Placeholder" />

Or fetch text for your layout:

const response = await fetch('https://placehold.harshsandhu.com/api/lorem');
const text = await response.text();