lorem-pix

Create placeholder image at the speed of light.

Usage no npm install needed!

<script type="module">
  import loremPix from 'https://cdn.skypack.dev/lorem-pix';
</script>

README

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