Plaiceholder is a Node.js library. It's designed only to work in a Node.js environment, not the browser.
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 install sharp
yarn add sharp
npm install plaiceholder
yarn add plaiceholder