Skip to content

🖼️ Customizable placeholder images at the reach of an URL.

License

Notifications You must be signed in to change notification settings

GMartigny/lorem-pix

Repository files navigation

Lorem-pix

Package version

Create placeholder image at the speed of light.

Install

A wide variety of solution is available to you:

NPM

$ npm install lorem-pix
const loremPix = require("lorem-pix");
loremPix(<width>, <height>, <color>);

CLI

A CLI version is also available for this package.

Web API

https://lorem-pix.now.sh/api/<width>
https://lorem-pix.now.sh/api/<width>/<height>
https://lorem-pix.now.sh/api/<width>/<height>/<color>

Web page

https://lorem-pix.now.sh

Example

Image example

https://lorem-pix.now.sh/api/200/150/lightsteelblue

License

MIT