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 i sharp
yarn add sharp
npm i plaiceholder
yarn add plaiceholder