Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including spaceholder with all npm packages installed. Try it out:

var spaceholder = require("spaceholder")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

spaceholder v1.10.4

Download placeholder images from public domain sources blazingly fast

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free