FindSoftware

Canvas Confetti

JavaScript library that draws confetti animations on an HTML canvas.

Canvas Confetti is a JavaScript library that draws confetti animations on an HTML canvas. The npm package is imported into a bundled client build, or loaded from a CDN, where it is exposed as a global confetti function. Each call launches particles from an origin point and returns a promise, where the browser supports promises, that resolves when the animation finishes. Calls made before an animation ends share one promise and draw on the same canvas.

Worth knowing

The README says the package is a client component and will not run in Node, so it is used in the browser only.

Identity

Status
Active
Maintainer
Kiril Vatev5
Maintained by
Individual
First release
20184

Rendering and deploy

Runs as
In the browser3
Install with
npm3

Releases

Current major version
16
Last release
2025-10-256

Adoption

GitHub stars
12,8462
npm downloads a week
9,540,2638
Contributors
187

Why these figures do not compare

Sources

  1. 2026-11-04: links
    catdad.github.io/canvas-confetti/
  2. 2026-11-04: links, Written in, Categories, License, License model, GitHub stars
    github.com/catdad/canvas-confetti
  3. 2026-11-04: links, Install with, Runs as
    github.com/catdad/canvas-confetti/blob/master/README.md
  4. 2026-11-04: First release
    registry.npmjs.org/canvas-confetti
  5. 2026-11-04: Maintainer
    github.com/catdad/canvas-confetti/blob/master/LICENSE
  6. 2026-11-04: Current major version, Last release
    github.com/catdad/canvas-confetti/releases/tag/1.9.4
  7. 2026-11-04: Contributors
    api.github.com/repos/catdad/canvas-confetti/contributors
  8. 2026-11-04: npm downloads a week
    api.npmjs.org/downloads/range/2026-10-26:2026-11-01/canvas-confetti

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON