2D graphics and game engines
Draw on a canvas in the browser, and make 2D games. We rate 9; Konva leads with 8.2 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| Konva | 16M | ×5.3 | 15k | 340 | Nov 2026 | 0 |
| Phaser | 3.4M | ×11 | 41k | 537 | Jul 2026 | 0 |
| PixiJS | 7.4M | ×5.8 | 49k | 288 | Nov 2026 | 0 |
| p5.js | 654k | ×4.0 | 24k | 2.1k | Nov 2026 | 0 |
| Fabric.js | 5.3M | ×3.5 | 32k | 210 | May 2026 | 2 |
| Excalibur | 94k | ×7.9 | 2.4k | 375 | Nov 2026 | 0 |
| LittleJS | 8.2k | ×3.6 | 4.4k | 1.8k | Nov 2026 | 0 |
| melonJS | 11k | ×5.9 | 6.5k | 874 | Nov 2026 | 0 |
| KAPLAY | 38k | ×4.4 | 1.8k | 253 | Jun 2025 | 0 |