straker/kontra
A lightweight JavaScript gaming micro-library, optimized for js13kGames. observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 65
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4196
- days_rel: n/a
- days_push: 215
- n_releases_24m: 0
Adoption not part of the score
1071 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Kontra.js is a lightweight JavaScript gaming micro-library optimized for size-constrained contexts like the js13kGames competition. It provides core game essentials such as asset loading, input handling, a game loop, sprites, object pools, and quadtrees while staying small, modular, and memory efficient.
Use cases
- build a small html5 game for a game jam
- make a canvas game under 13kb
- prototype a 2d game quickly in javascript
- load assets and handle input in a browser game
- run a fixed game loop with sprites
- use object pools and quadtrees for memory-efficient games
When to choose
- you need a tiny, size-optimized game library for js13kGames or similar size-limited jams
- you want a minimal foundation to extend rather than a full engine
- you are prototyping and want to get running quickly
- you want to combine it with other libraries
When to avoid
- you need a full-featured engine with physics, scenes, and editors like Phaser
- you are building a large commercial game needing extensive tooling
- you need 3D rendering
- you want batteries-included features out of the box
Facets
library · maturity active
game-engine animation image-processing web-development frontend browser micro-library js13kgames game-jam html5-games sprites game-loop canvas lightweight es-modules object-pool quadtree game-development javascript web
3 sources
- readme: https://github.com/straker/kontra · fetched 2026-08-28 · 0d2f353d60b8
- homepage: https://straker.github.io/kontra/ · fetched 2026-08-29 · 8c4f57b7b2c7
- registry_npm: https://registry.npmjs.org/kontra · fetched 2026-08-29 · bf5157d3c7e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| straker/kontra | main | 52 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem