spaceholder

Download placeholder images from public domain sources blazingly fast

Usage no npm install needed!

<script type="module">
  import spaceholder from 'https://cdn.skypack.dev/spaceholder';
</script>

README

Spaceholder

Download placeholder images from public domain sources blazingly fast

Travis npm version npm downloads npm license PRs Welcome

What is it?

Spaceholder makes it easy to download placeholder images when you need them. Images are downloaded from LoremPixel.com, Placehold.it, PlaceIMG.com, Dummyimage.com, Unsplash.it.

Installation

Spaceholder requires that you have Node.js installed on you computer

npm install -g spaceholder

Usage

spaceholder
# Downloads 1 image (1024x768px) into current directory
spaceholder -n 100
# Downloads 100 images into current directory
spaceholder -s 800x600
# Downloads 1 image (800x600px) into current directory
spaceholder -n 50 -s 800x600 -p LoremPixel
# Downloads 50 images (800x600px) from LoremPixel into current directory
# If no --provider / -p is specified, each image is downloaded from a random provider

Providers / Sources

Contributors

License

MIT © Daniel Eckermann