Skip to content
JS
Package

canvas-confetti

performant confetti animation in the browser

v1.9.4, 25 Oct 2025ISCESM + CommonJSTypes: NoneAnimation3D, WebGL and game engines
$ npm install canvas-confetti

Key numbers

As of 25 Sept 2026
Weekly downloads
6m
+628% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
11 months ago
v1.9.4
GitHub stars
12.8k
464 forks
Open issues / PRs
36 / 5
Contributors
-
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 19.2m (24 Mar 2026)Low 894.3k (21 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,996,971 downloads last week, 30,064,718 in the last month. The 12-month change of +628% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
137 in total
Latest version
1.9.4, 25 Oct 202511 months ago
First published
8 Feb 2018
Last push to GitHub
25 Oct 2025335 days before the snapshot
Repository archived
No
Open issues
36
Open pull requests
5
Commits, last 52 weeks
10
Dependents on npm
400

Major versions

  1. v1 first release 1.0.0, 22 Dec 2019
  2. v0 first release 0.0.1, 8 Feb 2018

Recent releases

VersionPublished
1.9.425 Oct 2025
1.9.330 Apr 2024
1.9.225 Nov 2023
1.9.116 Nov 2023
1.9.05 Oct 2023
1.8.03 Oct 2023
1.7.02 Oct 2023
1.6.128 Sept 2023
1.6.024 Oct 2022
1.5.18 Feb 2022
1.5.07 Feb 2022
1.4.010 Mar 2021
1.3.316 Jan 2021
1.3.212 Nov 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
90 kB
Dependencies (0)
None
npm install canvas-confetti

CDN

jsDelivr: 459.6m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/canvas-confetti@1.9.4/
  • unpkghttps://unpkg.com/canvas-confetti@1.9.4/
  • esm.shhttps://esm.sh/canvas-confetti@1.9.4
PackageWeekly downloadsGzipLast releaseModuleComparison
fireworks-js91.9k-2 years agoESM + CommonJS-
@lottiefiles/dotlottie-web1.1m-27 days agoESM + CommonJScanvas-confetti vs @lottiefiles/dotlottie-web
@lottiefiles/dotlottie-react905.6k-27 days agoESM only-
konva1.9m-1 day agoESM onlycanvas-confetti vs konva
animejs746.6k-3 months agoESM + CommonJScanvas-confetti vs animejs
ngx-lottie110.3k-2 months agoESM only-
react-native-confetti-cannon96.6k-5 years agoCommonJS-
@antv/g2270k-8 months agoESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.