placeholdit

Downloads placehold.it images to your machine

Usage no npm install needed!

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

README

placeholdit

Simple CLI node utility that downloads images from placehold.it.

Installation

Installing is quite simple

npm install -g placeholdit 

Usage

Placeholdit is pretty easy to use.

placeholdit [-d path/to/download/folder] width[xheight] [...]

Here are some concrete usage examples

placeholdit 200x100 # Download a 200x100 image
placeholdit 100x300 200 # Download a 100x300 image and a 200x200 image
placeholdit -d placeholders 800x600 # Download a 800x600 image into the placeholders folder

In order for the -d (a.k.a. --directory) flag to work, the folder must already exist. Otherwise placeholdit will just return an error.