mikeflynn/egg.js
A simple javascript library to add easter eggs to web pages. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 4158
- days_rel: n/a
- days_push: 1649
- n_releases_24m: 0
Adoption not part of the score
1563 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Egg.js is a small dependency-free JavaScript library for adding easter eggs to web pages by detecting specific keyboard sequences like the Konami code. Developers register key sequences with callbacks and optional metadata, plus hooks that fire whenever any egg is triggered.
Use cases
- add a konami code easter egg to my website
- trigger a fun animation when users type a secret key sequence
- detect keyboard shortcuts like up up down down left right left right b a
- fire an analytics event when someone finds my hidden easter egg
- add hidden surprises to web pages without dependencies
When to choose
- you want a tiny, zero-dependency way to add keyboard-sequence easter eggs to any web page
- you want plain-English key names instead of raw JavaScript key codes
- you want hooks to log or track when easter eggs are discovered
When to avoid
- you need general keyboard shortcut or hotkey management rather than playful easter eggs
- you need touch or mobile input support since it only watches keystrokes
- you need an actively developed library with modern tooling and TypeScript support
Facets
library · maturity maintenance
frontend-framework web-development frontend entertainment browser easter-egg konami-code keyboard-events vanilla-javascript
2 sources
- readme: https://github.com/mikeflynn/egg.js · fetched 2026-08-28 · f6721ae223ee
- homepage: https://mikeflynn.github.io/egg.js/ · fetched 2026-08-29 · c383db21990a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mikeflynn/egg.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mikeflynn/egg.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem