Skip to content
JS
Comparison

canvas-confetti vs @lottiefiles/dotlottie-web

AnimationPackage data 25 Sept 2026
canvas-confettiv1.9.4, 25 Oct 2025

performant confetti animation in the browser

$ npm install canvas-confetti
@lottiefiles/dotlottie-webv0.80.0, 28 Aug 2026

Lottie and DotLottie player for the web

$ npm install @lottiefiles/dotlottie-web
Metriccanvas-confetti@lottiefiles/dotlottie-webDifference
Weekly downloads5,996,9711,105,221canvas-confetti 5.4x higher
12-month download growth+628%--
Gzip size---
Minified size---
Dependencies00Same
Unpacked size90 kB7.0 MBcanvas-confetti 79.7x smaller
Latest release1.9.4, 25 Oct 20250.80.0, 28 Aug 2026@lottiefiles/dotlottie-web 10 months more recent
Releases, last 12 months140@lottiefiles/dotlottie-web 39 more
First published8 Feb 201830 Oct 2023canvas-confetti 5.7 years earlier
GitHub stars12,766884canvas-confetti 14.4x higher
Open issues368canvas-confetti 28 more
Open pull requests511@lottiefiles/dotlottie-web 6 more
Contributors---
Commits, last 52 weeks10188@lottiefiles/dotlottie-web 18.8x higher
TypeScript typesNoneBundledDiffers
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseISCMITDiffers

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.

canvas-confetti6m 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.

canvas-confetti

Major versions
  1. 0.0.18 Feb 2018
  2. 1.0.022 Dec 2019
Last 5 releases
  1. 1.9.425 Oct 2025
  2. 1.9.330 Apr 2024
  3. 1.9.225 Nov 2023
  4. 1.9.116 Nov 2023
  5. 1.9.05 Oct 2023
37 releases in total, 1 in the last 12 months

@lottiefiles/dotlottie-web

Major versions
  1. 0.0.030 Oct 2023
Last 5 releases
  1. 0.80.028 Aug 2026
  2. 0.79.218 Aug 2026
  3. 0.79.113 Aug 2026
  4. 0.79.06 Aug 2026
  5. 0.78.222 Jul 2026
127 releases in total, 40 in the last 12 months
canvas-confetti

-

@lottiefiles/dotlottie-web

-

canvas-confetti

-

@lottiefiles/dotlottie-web

-

  • Need no runtime dependenciesBoth
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itself@lottiefiles/dotlottie-web (canvas-confetti: None; @lottiefiles/dotlottie-web: Bundled)
  • Node.js version requirementcanvas-confetti: none declared; @lottiefiles/dotlottie-web: >=18.17.0 (engines field in package.json)
  • Need the more recent release@lottiefiles/dotlottie-web (0.80.0 on 28 Aug 2026 vs 1.9.4 on 25 Oct 2025)
  • Higher weekly npm downloadscanvas-confetti (6m vs 1.1m)
  • Licensecanvas-confetti: ISC; @lottiefiles/dotlottie-web: MIT

Each line is generated from the data above.