Getting Started
note
Plaiceholder is a Node.js library. It's designed only to work in a Node.js environment, not the browser.
Prerequisites​
Under-the-hood, Plaiceholder uses the wonderful and powerful sharp
library to transform images.
Some frameworks or libraries include sharp
by default, so double-check before you install.
- npm
- Yarn
npm install sharp
yarn add sharp
Installation​
- npm
- Yarn
npm install plaiceholder
yarn add plaiceholder