Canvas Confetti
JavaScript library that draws confetti animations on an HTML canvas.
catdad.github.io/canvas-confetti/repositorydocs
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
Adoption
Sources
- 2026-11-04: links
catdad.github.io/canvas-confetti/ - 2026-11-04: links, Written in, Categories, License, License model, GitHub stars
github.com/catdad/canvas-confetti - 2026-11-04: links, Install with, Runs as
github.com/catdad/canvas-confetti/blob/master/README.md - 2026-11-04: First release
registry.npmjs.org/canvas-confetti - 2026-11-04: Maintainer
github.com/catdad/canvas-confetti/blob/master/LICENSE - 2026-11-04: Current major version, Last release
github.com/catdad/canvas-confetti/releases/tag/1.9.4 - 2026-11-04: Contributors
api.github.com/repos/catdad/canvas-confetti/contributors - 2026-11-04: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/canvas-confetti