diminutive for image in croatian
Intended for usage behind a proxy cache (e.g. nginx, varnish) or a CDN (e.g. CloudFlare) as it doesn't cache results on its own.
npm i -S slicica
Installing this module will automatically fetch and build libvips and its dependencies on Linux, MacOS and Windows x64.
For more information read sharp's documentation.
const app =const slicica =app
w // widthh // heightg = 'center' // gravity (north|northeast|east|southeast|south|southwest|west|northwest|center|centre)if w && h// crops to exact dimensions using the default or specified gravityelse if w || h// resizes preserving the aspect ratioelse// just pipes the original image as response
MIT © Stipe Kotarac (https://github.com/kotarac)