LittleJS
Reasonable, with limits. 7th of 9 2D graphics and game engines.
LittleJS is a tiny, fast, dependency-free HTML5 game engine. One very active author maintains it, and it now does 3D as well as 2D. It is a good pick for game jams, size-limited contests like js13k and small arcade games. For most new commercial or large 2D games, Phaser is safer and better documented.
Best for: Solo developers and jam entrants who want a small, fast, zero-dependency engine for small browser games, especially js13k.
Scores
Overall6.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is well made and very active, and it is the best fit for js13k and tiny jam games. Several things hold it back: one maintainer, frequent breaking releases, thin outside learning material, small adoption and growth below the median. Phaser beats it for most 2D games, and Excalibur or KAPLAY are similar alternatives with more momentum.
- peers: Phaser has 3.35M downloads and 6194 dependent repos
- jchai01.github.io/posts/js13k-2025: Mixed user experience in js13k
- github.com/KilledByAPixel/LittleJS/releases: Fast cadence with breaking changes
GPT-6.2 Sol: 7.0, likely 5.9 to 8.1
LittleJS is a strong pick for small browser games that benefit from built-in physics, sound, and level editing with little setup. Phaser is the stronger general-purpose choice when a project needs independently managed scenes and a larger learning ecosystem. LittleJS ships fixes frequently, while compatibility changes within 1.x, below-baseline install growth, and limited production evidence temper the recommendation.
- github.com/KilledByAPixel/LittleJS/blob/v1.31.0/README.md: Built-in game systems and lightweight setup options
- github.com/KilledByAPixel/LittleJS/releases: Frequent fixes and documented compatibility changes
- docs.phaser.io/api-documentation/class/scenes-systems: Phaser provides separate scene lifecycles and systems
- phaser.io/learn: Phaser tutorials, examples, and documentation
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, and peers: Below-baseline install growth and a much smaller footprint than Phaser
Needed by many3.7
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
Browser game development is a clear niche among JavaScript developers. LittleJS serves the small-game and jam part of it, not general canvas drawing or diagrams the way Konva or Fabric do. The added 3D support widens it a little.
- github description: Tiny fast 2D/3D HTML5 game engine
- unpkg.com/littlejsengine@1.18.21/FAQ.md: The FAQ says it is especially suited to size-constrained contests like js13k
GPT-6.2 Sol: 3.8, likely 2.7 to 4.9
LittleJS serves a clear niche in browser games, especially small arcade projects that need a game loop, physics, and sound together. Canvas also serves editors and data visualization, where those game systems are less useful. The available survey covers web game developers, so it gives limited insight into how often JavaScript and TypeScript developers overall need this kind of engine.
- github.com/KilledByAPixel/LittleJS/blob/v1.31.0/README.md: Browser game systems, starter examples, and size-focused branch
- gamedevjs.com/survey/2025: Canvas and WebGL use among web game developers
Helps a lot7.0
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It has a broad feature set for its size: WebGL rendering, Box2D, particles, lighting, tilemaps, LDtk loading and now 3D. It is fast, with zero dependencies. Users report thin docs, surprising API choices such as normalize() of a zero vector, and a build script that broke. Phaser has deeper docs, a larger ecosystem and more tooling for bigger games.
- github.com/KilledByAPixel/LittleJS/releases: Rich, fast-moving feature releases and better TS types in 1.29
- jchai01.github.io/posts/js13k-2025: A js13k user reports doc gaps, few learning resources, a broken build script and weak AI help
- npm hasTypes / dependencies: Ships types and has 0 dependencies
GPT-6.2 Sol: 7.5, likely 6.3 to 8.6
Version 1.31.0 covers the essentials of a small 2D game, from sprite batching and tile collisions to input, audio, and level editing. TypeScript declarations, debug assertions, and editable examples give developers and coding agents concrete feedback. A jam developer reported difficulty getting useful AI debugging help in 2025, and the current release now has more than 100 short examples. The independent canvas benchmark covers moving rectangles, leaving performance in complete games less certain.
- github.com/KilledByAPixel/LittleJS/blob/v1.31.0/README.md: 2D features, TypeScript declarations, editor, and editable examples
- github.com/KilledByAPixel/LittleJS/releases/tag/v1.31.0: Editor fixes and clearer debug assertions
- jchai01.github.io/posts/js13k-2025: Firsthand account of physics onboarding and AI debugging friction
- github.com/slaylines/canvas-engines-comparison: Independent comparison uses a moving-rectangle workload
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
Activity is very high: about 1,750 commits, 21 releases and 44 npm versions in the last year, with only 4 open issues. But one author drives almost all of it, and nearly every minor release in recent months lists breaking changes. That makes long-term upgrades costly and the bus factor high.
- github commitsLastYear / releasesLastYear: 1753 commits and 21 releases in a year
- github openIssues / closedIssues: 4 open and 115 closed issues
- github.com/KilledByAPixel/LittleJS/releases: Breaking changes in 1.24 through 1.31
GPT-6.2 Sol: 6.8, likely 5.4 to 8.0
LittleJS had 21 GitHub releases in the past year, and the November 20 release includes fixes across the engine and editors. The issue and pull request queues are small, though some user requests have stayed open for months. Recent releases come from one account, and the public sponsorship page gives limited evidence of sustained funding. Compatibility changes within 1.x add upgrade work and make the two-year outlook less certain.
- github: 1,753 annual commits, 21 releases, 26 contributors, and four open issues
- github.com/KilledByAPixel/LittleJS/releases: Recent release authors, fixes, and breaking changes within 1.x
- github.com/KilledByAPixel/LittleJS/issues: Small queue includes a February onboarding issue
- github.com/sponsors/KilledByAPixel: Maintainer seeks recurring funding for maintenance and onboarding
Used widely2.9
How many use it, and is that growing?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
About 8.2k downloads in 4 weeks, up 3.6x from a year ago. That is below the 4.1x median, and Excalibur, melonJS and KAPLAY grew faster. ecosyste.ms finds only 2 dependent repos, far below peers, though many users likely copy the file or load it from a CDN. The 4.4k stars and a 109-point HN story show interest.
- npm downloadsLast4Weeks: 8239 now vs 2300 a year ago, a 3.6x ratio
- dependents: 2 repos and 2 packages
- hackerNews top: 'LittleJS is 2D and 3D now' got 109 points
GPT-6.2 Sol: 2.8, likely 1.5 to 4.2
Four-week npm installs rose from 2,300 to 8,239, or 3.58×, below the catalog’s 4.1× baseline. Ecosyste.ms found two dependent repositories and two packages, with more repositories found for melonJS and Excalibur. Roughly 4,400 stars, a 95-entry jam, and one prominent Hacker News thread show interest beyond the dependency count. Copied browser builds can bypass npm, so the number of projects choosing LittleJS remains uncertain.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 8,239 versus 2,300 installs
- medianDownloadsRatio: 4.1× baseline for year-over-year install growth
- dependents and peers: Two indexed repos versus 37 for melonJS and 114 for Excalibur
- github stars, hackerNews, and bluesky: 4,398 stars, one 109-point Hacker News story, and five Bluesky links
- itch.io/jam/littlejs-jam/results: 95 entries in the third LittleJS jam
- github.com/KilledByAPixel/LittleJS/blob/v1.31.0/README.md: Supports copying a browser build without npm
Vouched for4.4
Who stands behind it being good?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
Its main recognition is from the js13k community, where its resources page lists it first. There are also annual LittleJS jams and a GitNation talk. I found no well-known company running it in production and no survey data. Most praise comes from hobbyists and the author.
- news.ycombinator.com/item?id=50065572: HN praise for the author and community, but no production reports
- itch.io/jam/littlejs-jam: Annual jam run around the engine
- gitnation.com/contents/making-awesome-games-with-littlejs: Conference talk on the engine
GPT-6.2 Sol: 5.3, likely 3.9 to 6.7
Wavedash documents LittleJS support for leaderboards and cloud saves, and the independently released Bike Survivors uses the engine. LittleJS appeared in 3.9% of 442 responses to the 2025 Gamedev.js engine question, compared with Phaser at 35.8%. The survey measured use, and much of the public track record comes from jams, leaving satisfaction and long-term production use uncertain.
- docs.wavedash.com/engines/littlejs: Publishing platform documents the LittleJS integration
- nanophageresearch.itch.io/bike-survivors: Released 2D game credits LittleJS and AI coding assistance
- gamedevjs.com/dl/gamedevjs-survey-2025-report.pdf: Independent multiple-choice engine use survey
Safe7.6
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.0 to 8.5
It has zero dependencies, an MIT licence and no known advisories, which keeps the attack surface small. There is no OpenSSF Scorecard, and a single maintainer publishes releases very often. That leaves release-process checks unverified.
- advisories total: 0 advisories
- npm dependencies: 0 dependencies
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.6, likely 6.2 to 8.8
The package has no npm runtime dependencies, uses the permissive MIT licence, and has no recorded OSV advisories. GitHub shows automated tests and no published security reporting policy. A public package listing shows one maintainer, and npm publishing controls and provenance could not be verified. Those gaps and the missing OpenSSF Scorecard limit confidence in release safeguards.
- npm dependencies, npm license, advisories, and scorecard: Zero dependencies, MIT, zero OSV advisories, and no Scorecard result
- github.com/KilledByAPixel/LittleJS/security: No security policy or published GitHub advisories
- github.com/KilledByAPixel/LittleJS/actions: Public test workflow runs
- npm.io/package/littlejsengine/versions: Public package metadata lists one maintainer
Good
- Zero dependencies and a very small footprint; a js13k build fits in about 7KB zipped.
- One package covers rendering, physics (including Box2D), particles, sound, input, tilemaps and now 3D with glTF.
- Very active development: 21 GitHub releases and about 1,750 commits in the last year, with fast issue handling.
- Ships TypeScript types, which were made much more precise in 1.29, under a permissive MIT licence.
Bad
- Almost every minor release lists breaking changes, and new versions ship several times a month.
- One author does nearly all the work, so the project depends heavily on him.
- Few tutorials and outside examples, so AI coding agents and newcomers have less to draw on than with Phaser.
- Little production use outside game jams and the author's own games.
The numbers
- npm downloads, 4 weeks
- 8.2k ×3.6 in a year
- GitHub stars
- 4.4k
- Commits, 12 months
- 1.8k
- npm version
- 1.31.0 Nov 2026
- Versions, 12 months
- 44
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (KilledByAPixel/LittleJS), npm (littlejsengine), OSV and the OpenSSF Scorecard.