placebear

Downloads placebear.com images to your machine

Usage no npm install needed!

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

README

placebear

Simple CLI node utility that downloads files from placebear.com.

Installation

Installing is quite simple

npm install -g placebear

Usage

Placebear is pretty easy to use.

placebear [-d path/to/download/folder] width[/height] [...]

Here are some concrete usage examples

placebear 200/100 # Download a 200x100 image
placebear 100/300 200 # Download a 100x300 image and a 200x200 image
placebear -d bears 800/600 # Download a 800x600 image into the bears folder

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