Skip to content
JS
Comparison

node-vibrant vs dom-to-image

Image processingPackage data 25 Sept 2026
node-vibrantv4.0.4, 27 Jan 2026

Extract prominent colors from an image. Supports both node and browser environment.

$ npm install node-vibrant
dom-to-imagev2.6.0, 4 Oct 2017

Generates an image from a DOM node using HTML5 canvas and SVG

$ npm install dom-to-image
Metricnode-vibrantdom-to-imageDifference
Weekly downloads552,101227,866node-vibrant 2.4x higher
12-month download growth+528%+17%node-vibrant +512 pts
Gzip size---
Minified size---
Dependencies60node-vibrant 6 more
Unpacked size20 kB--
Latest release4.0.4, 27 Jan 20262.6.0, 4 Oct 2017node-vibrant 8.3 years more recent
Releases, last 12 months1--
First published4 Jun 2015--
GitHub stars2,45410,780dom-to-image 4.4x higher
Open issues21283dom-to-image 262 more
Open pull requests455dom-to-image 51 more
Contributors---
Commits, last 52 weeks80node-vibrant higher
TypeScript typesBundledNoneDiffers
Module formatESM + CommonJSCommonJSDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

node-vibrant538.5k latest weekdom-to-image227.9k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

node-vibrant

Major versions
  1. 1.0.04 Jun 2015
  2. 2.0.030 Oct 2015
  3. 3.0.028 Nov 2017
  4. 4.0.026 Dec 2024
Last 5 releases
  1. 4.0.427 Jan 2026
  2. 4.0.315 Jan 2025
  3. 4.0.215 Jan 2025
  4. 4.0.113 Jan 2025
  5. 4.0.026 Dec 2024
32 releases in total, 1 in the last 12 months

dom-to-image

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
node-vibrant

-

dom-to-image

-

node-vibrant

-

dom-to-image

-

  • Need no runtime dependenciesdom-to-image (node-vibrant has 6, dom-to-image has 0)
  • Need both ESM and CommonJS entry pointsnode-vibrant (node-vibrant: ESM + CommonJS; dom-to-image: CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfnode-vibrant (node-vibrant: Bundled; dom-to-image: None)
  • Need the more recent releasenode-vibrant (4.0.4 on 27 Jan 2026 vs 2.6.0 on 4 Oct 2017)
  • Higher weekly npm downloadsnode-vibrant (552.1k vs 227.9k)

Each line is generated from the data above.