npm i -g sqipify-cli
sqipify --help
Generate SVG Placeholders for Images using SQIP based on Primitive.
700x882, 24 bit, 58.3 KB
import sqipify from "sqipify"
const { input, output } = await sqipify("norway.jpg", numberOfPrimitives, blur, mode)npm installTypescript builds are automatic and watch for file changes:
npm run buildor run this to build only once:
npm run buildOnceBuilding, Linting, Formatting, Testing:
npm test- use
git pull --rebasein favor of regular pull, i recommend configuring it globally via:git config --global pull.rebase true
