
112
@dusrel/image is a family of 24 open-source npm packages for image processing that runs 100% in the browser. Compress, crop, resize, rotate and convert images on the visitor's device — images never leave the tab, so there is no backend to host, scale or pay for.
It pairs a tiny zero-dependency Canvas core with real WASM codecs — MozJPEG, libwebp, libavif, libjxl, and the Rust png / oxipng / resize / quantize modules — each its own separately installable, lazily loaded package. Features include an accessible crop component, EXIF metadata read/strip, transforms and adjustments, watermarks, a worker-pool batch engine, animated GIF, SVG optimisation, ThumbHash/BlurHash placeholders, and HEIC decode. React, Vue and Svelte bindings are included.
MIT licensed, TypeScript, ESM-only, and proven in Chromium, Firefox and WebKit on CI. Try the live playground — every codec runs in your browser.
Built with