lorem-pix
v2.0.0
Published
Create placeholder image at the speed of light.
Downloads
28
Maintainers
Readme
Lorem-pix
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
Example
https://lorem-pix.now.sh/api/200/150/lightsteelblue