Package category
Image processing
Resize, convert, compress and analyse images.
416 packages17 comparisons
Packages compared
416 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| sharp High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images | 71.7m | +326% | - | 30 days ago 0.35.4 | ESM + CommonJS | Bundled | Image processing | |
| dompurify DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a | 45.3m | +303% | - | 1 day ago 3.4.16 | ESM + CommonJS | Bundled | Security, Image processing | |
| pngjs PNG encoder/decoder in pure JS, supporting any bit size & interlace, async & sync with full test suite. | 44.6m | +286% | - | 3 years ago 7.0.0 | CommonJS | None | Image processing | |
| file-type Detect the file type of a file, stream, or data | 41.4m | +61% | - | 8 days ago 22.1.1 | ESM only | Bundled | Image processing, PDF and documents | |
| svgo SVGO is a Node.js library and command-line application for optimizing vector images. | 31.4m | +55% | - | 1 month ago 4.1.0 | ESM + CommonJS | Bundled | CLI tools and terminal utilities, Image processing | |
| image-size get dimensions of any image file | 23.1m | +93% | - | 10 days ago 2.0.4 | ESM + CommonJS | Bundled | Image processing | |
| d3 Data-Driven Documents | 15.2m | +248% | - | 2 years ago 7.9.0 | ESM only | None | Charts and data visualisation, Image processing | |
| @svgr/core Transform SVG into React Components. | 14.4m | +46% | - | 3 years ago 8.1.0 | CommonJS | Bundled | React, Image processing | |
| svg-pathdata Manipulate SVG path data (path[d] attribute content) simply and efficiently. | 10m | +255% | - | 5 months ago 9.0.0 | ESM only | Bundled | Image processing, TypeScript tooling | |
| canvg JavaScript SVG parser and renderer on Canvas. | 9.7m | +261% | - | 1 year ago 4.0.3 | ESM + CommonJS | Bundled | Image processing, 3D, WebGL and game engines | |
| wmf Windows MetaFile (WMF) parser | 9.4m | +210% | - | 6 years ago 1.0.2 | CommonJS | Bundled | Image processing, 3D, WebGL and game engines | |
| jpeg-js A pure javascript JPEG encoder and decoder | 9.1m | +151% | - | 4 years ago 0.4.4 | CommonJS | None | Image processing | |
| fast-png PNG image decoder and encoder written entirely in JavaScript | 8.8m | +715% | - | 9 months ago 8.0.0 | ESM only | None | Image processing | |
| @svgr/webpack SVGR webpack loader. | 8.7m | +24% | - | 3 years ago 8.1.0 | CommonJS | Bundled | Bundler plugins and loaders, React | |
| png-js A PNG decoder in JavaScript | 8.5m | +410% | - | 5 months ago 2.0.0 | ESM + CommonJS | None | Image processing | |
| buffer-image-size get dimensions of any image buffer | 6.7m | +18999% | - | 8 years ago 0.6.4 | CommonJS | Bundled | Image processing | |
| @blazediff/core Blazing-fast pixel-by-pixel image comparison with block-based optimization. 1.5x times faster than pixelmatch | 6.7m | +32652% | - | 1 month ago 1.10.0 | ESM + CommonJS | Bundled | Image processing | |
| canvas Canvas graphics API backed by Cairo | 5.7m | +62% | - | 5 months ago 3.2.3 | CommonJS | Bundled | PDF and documents, Image processing | |
| mini-svg-data-uri Small, efficient encoding of SVG data URIs for CSS, HTML, etc. | 5.3m | +72% | - | 4 years ago 1.4.4 | CommonJS | Bundled | Image processing, URLs and query strings | |
| html-to-image Generates an image from a DOM node using HTML5 canvas and SVG. | 4.8m | +421% | - | 1 year ago 1.11.13 | ESM + CommonJS | Bundled | Image processing, DOM and browser utilities | |
| jay-peg Performant JPEG decoder | 3.9m | +436% | - | 1 year ago 1.1.1 | ESM + CommonJS | None | Image processing | |
| probe-image-size Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD) | 3.9m | +362% | - | 1 month ago 7.4.0 | - | None | Image processing | |
| echarts Apache ECharts is a powerful, interactive charting and data visualization library for browser | 3.7m | +238% | - | 4 months ago 6.1.0 | ESM + CommonJS | Bundled | Charts and data visualisation, Image processing | |
| zrender A lightweight graphic library providing 2d draw for Apache ECharts | 3.7m | +237% | - | 4 months ago 6.1.0 | ESM + CommonJS | Bundled | Image processing, 3D, WebGL and game engines | |
| rastermill Fast, portable image processing for Node agents. | 3.3m | - | - | 1 day ago 0.4.0 | ESM only | Bundled | Image processing | |
| exif-parser A javascript library to extract Exif metadata from images, in node and in the browser. | 2.9m | +79% | - | 9 years ago 0.1.12 | CommonJS | None | Image processing | |
| satori Enlightened library to convert HTML and CSS to SVG. | 2.7m | +628% | - | 2 days ago 0.33.5 | ESM + CommonJS | Bundled | Image processing | |
| jimp An image processing library written entirely in JavaScript. | 2.6m | +88% | - | 5 months ago 1.6.1 | ESM + CommonJS | Bundled | Image processing | |
| jpeg-exif Use for parse .jpg file exif info (including GPS info.). | 2.6m | +195% | - | 7 years ago 1.1.4 | CommonJS | None | Image processing | |
| perfect-freehand Draw perfect pressure-sensitive freehand strokes. | 1.8m | +286% | - | 7 months ago 1.2.3 | ESM + CommonJS | Bundled | Image processing | |
| react-zoom-pan-pinch Zoom and pan html elements in easy way. | 1.8m | +234% | - | 22 days ago 4.2.0 | ESM + CommonJS | Bundled | React, Image processing | |
| style-value-types Parsers, transformers and tests for special value types, eg: %, hex codes etc. | 1.7m | +34% | - | 4 years ago 5.1.2 | ESM + CommonJS | Bundled | CSS-in-JS and styling, Image processing | |
| modern-screenshot Quickly generate image from DOM node using HTML5 canvas and SVG | 1.6m | +337% | - | 5 months ago 4.7.0 | - | - | DOM and browser utilities, Image processing | |
| cropperjs JavaScript image cropper. | 1.2m | +49% | - | 1 month ago 2.2.0 | - | - | Image processing | |
| heic-convert Convert HEIC/HEIF images to JPEG and PNG | 1.1m | +520% | - | 2 years ago 2.1.0 | CommonJS | None | Image processing | |
| vega-expression Vega expression parser and code generator. | 1.1m | +198% | - | 1 month ago 6.2.2 | ESM only | Bundled | Parsers and serialisers, Charts and data visualisation | |
| browser-image-compression Compress images in the browser | 997.8k | +180% | - | 3 years ago 2.0.2 | ESM + CommonJS | Bundled | Image processing | |
| vega-util JavaScript utilities for Vega. | 900.9k | +193% | - | 1 month ago 2.1.3 | ESM only | Bundled | 3D, WebGL and game engines, Charts and data visualisation | |
| imagemin Minify images seamlessly | 873.3k | -8% | - | 1 year ago 9.0.1 | ESM only | None | Image processing | |
| @panzoom/panzoom Pan and zoom elements anywhere using native transformations | 776.9k | - | - | - | 5 months ago 4.6.2 | ESM only | Bundled | CSS-in-JS and styling, Image processing |
| animejs JavaScript animation engine | 746.6k | +159% | - | 3 months ago 4.5.0 | ESM + CommonJS | Bundled | Animation, 3D, WebGL and game engines | |
| vega-time JavaScript date/time utilities for Vega. | 743.2k | +235% | - | 1 month ago 3.3.0 | ESM only | None | Date and time, Charts and data visualisation | |
| vega-scenegraph Vega scenegraph and renderers. | 714.4k | +240% | - | 1 month ago 5.3.0 | ESM only | None | 3D, WebGL and game engines, Charts and data visualisation | |
| react-simple-maps React components to build maps with d3-geo, with optional zoom/pan support | 709.8k | +346% | - | 12 days ago 5.0.5 | ESM + CommonJS | Bundled | React, Charts and data visualisation | |
| ipx High performance, secure and easy-to-use image optimizer. | 699.7k | +76% | - | 1 month ago 4.0.0-beta.1 | ESM only | Bundled | Image processing | |
| vega-scale Scales and color schemes for visual encoding. | 696.9k | +211% | - | 1 month ago 8.1.3 | ESM only | Bundled | 3D, WebGL and game engines, Charts and data visualisation | |
| vega-functions Custom functions for the Vega expression language. | 689.3k | +226% | - | 1 month ago 6.2.0 | ESM only | None | 3D, WebGL and game engines, Charts and data visualisation | |
| vega-loader Network request and file loading utilities. | 684.9k | +243% | - | 1 month ago 5.1.3 | ESM only | None | 3D, WebGL and game engines, Charts and data visualisation | |
| vega-event-selector A CSS-inspired language to select, sequence, and compose DOM events. | 683k | +189% | - | 1 year ago 4.0.0 | ESM only | Bundled | 3D, WebGL and game engines, Charts and data visualisation | |
| vega-dataflow Reactive dataflow processing. | 677.7k | +222% | - | 1 month ago 6.1.3 | ESM only | None | 3D, WebGL and game engines, Charts and data visualisation |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- sharpHigh performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
- dompurifyDOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a
- pngjsPNG encoder/decoder in pure JS, supporting any bit size & interlace, async & sync with full test suite.
- file-typeDetect the file type of a file, stream, or data
- svgoSVGO is a Node.js library and command-line application for optimizing vector images.
- image-sizeget dimensions of any image file
- d3Data-Driven Documents
- @svgr/coreTransform SVG into React Components.
- svg-pathdataManipulate SVG path data (path[d] attribute content) simply and efficiently.
- canvgJavaScript SVG parser and renderer on Canvas.
- wmfWindows MetaFile (WMF) parser
- jpeg-jsA pure javascript JPEG encoder and decoder
- fast-pngPNG image decoder and encoder written entirely in JavaScript
- @svgr/webpackSVGR webpack loader.
- png-jsA PNG decoder in JavaScript
- buffer-image-sizeget dimensions of any image buffer
- @blazediff/coreBlazing-fast pixel-by-pixel image comparison with block-based optimization. 1.5x times faster than pixelmatch
- canvasCanvas graphics API backed by Cairo
- mini-svg-data-uriSmall, efficient encoding of SVG data URIs for CSS, HTML, etc.
- html-to-imageGenerates an image from a DOM node using HTML5 canvas and SVG.
- jay-pegPerformant JPEG decoder
- probe-image-sizeGet image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)
- echartsApache ECharts is a powerful, interactive charting and data visualization library for browser
- zrenderA lightweight graphic library providing 2d draw for Apache ECharts
- rastermillFast, portable image processing for Node agents.
- exif-parserA javascript library to extract Exif metadata from images, in node and in the browser.
- satoriEnlightened library to convert HTML and CSS to SVG.
- jimpAn image processing library written entirely in JavaScript.
- jpeg-exifUse for parse .jpg file exif info (including GPS info.).
- perfect-freehandDraw perfect pressure-sensitive freehand strokes.
- react-zoom-pan-pinchZoom and pan html elements in easy way.
- style-value-typesParsers, transformers and tests for special value types, eg: %, hex codes etc.
- modern-screenshotQuickly generate image from DOM node using HTML5 canvas and SVG
- cropperjsJavaScript image cropper.
- heic-convertConvert HEIC/HEIF images to JPEG and PNG
- vega-expressionVega expression parser and code generator.
- browser-image-compressionCompress images in the browser
- vega-utilJavaScript utilities for Vega.
- imageminMinify images seamlessly
- @panzoom/panzoomPan and zoom elements anywhere using native transformations
- animejsJavaScript animation engine
- vega-timeJavaScript date/time utilities for Vega.
- vega-scenegraphVega scenegraph and renderers.
- react-simple-mapsReact components to build maps with d3-geo, with optional zoom/pan support
- ipxHigh performance, secure and easy-to-use image optimizer.
- vega-scaleScales and color schemes for visual encoding.
- vega-functionsCustom functions for the Vega expression language.
- vega-loaderNetwork request and file loading utilities.
- vega-event-selectorA CSS-inspired language to select, sequence, and compose DOM events.
- vega-dataflowReactive dataflow processing.
- html-to-image vs dom-to-image
- canvg vs dom-to-image
- d3 vs echarts
- canvg vs html-to-image
- canvg vs zrender
- react-d3-tree vs @swimlane/ngx-charts
- d3 vs react-d3-tree
- html-to-image vs node-vibrant
- d3 vs @swimlane/ngx-charts
- animejs vs svg.js
- zrender vs dom-to-image
- html-to-image vs zrender
- node-vibrant vs dom-to-image
- react-svg vs dom-to-image-more
- dom-to-image vs panzoom
- html-to-image vs panzoom
- echarts vs @swimlane/ngx-charts