@edsilv/sharp

v0.24.1-1
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP and TIFF images
jpeg png webp tiff gif svg dzi image resize and 6 more...

install

(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

clean

rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*

test

semistandard && cpplint && npm run test-unit && npm run test-licensing && prebuild-ci

test-unit

nyc --reporter=lcov --branches=99 mocha --slow=5000 --timeout=60000 ./test/unit/*.js

test-licensing

license-checker --production --summary --onlyAllow="Apache-2.0;BSD;ISC;MIT"

test-coverage

./test/coverage/report.sh

test-leak

./test/leak/leak.sh

docs-build

for m in constructor input resize composite operation colour channel output utility; do documentation build --shallow --format=md --markdown-toc=false lib/$m.js >docs/api-$m.md; done

docs-serve

cd docs && npx serve

docs-publish

cd docs && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp
npm i @edsilv/sharp

Metadata

Downloads

Maintainers