lorem-pix

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i lorem-pix

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

4.43 kB

Total Files

4

Last publish

Collaborators

  • gmartigny