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 install
Typescript builds are automatic and watch for file changes:
npm run build
or run this to build only once:
npm run buildOnce
Building, Linting, Formatting, Testing:
npm test
- use
git pull --rebase
in favor of regular pull, i recommend configuring it globally via:git config --global pull.rebase true