# toptal/keycodes

Easy visualizer for JavaScript KeyCodes

Repository: https://github.com/toptal/keycodes
Canonical: https://ross.abutalabs.com/products/keycodes
Homepage: https://keycode.info
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-25T08:23:45+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4513, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2159, forks 357 (observed 2026-08-28T04:06:19.922222+00:00)

## What it is
A simple web application that visualizes JavaScript KeyboardEvent key codes when users press any key. Built with Next.js and TypeScript, it is hosted at keycode.info.

## Use cases
- find the JavaScript keycode for a pressed key
- look up KeyboardEvent key and code values
- debug keyboard event handling in web apps
- check event.key vs event.code for a key
- reference table of JavaScript key codes

## When to choose
- you need to quickly identify key codes for keyboard event handling
- you want a free browser-based key code lookup tool
- you are building or debugging keyboard shortcuts in JavaScript

## When to avoid
- you need key code lookup for non-web platforms like native mobile or desktop apps
- you need programmatic key code mapping rather than an interactive visualizer

## Facets
- artifact type: application
- maturity: active
- function: developer-tools, gui
- domain: web-development, developer-tools, frontend
- platform: -
- tags: keyboard-events, keycodes, nextjs, typescript, web-utility, web-server, nodejs, docker

## Member repositories
- toptal/keycodes (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:19.922222+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:21.215422+00:00, confidence not recorded.
  - readme: https://github.com/toptal/keycodes (fetched 2026-08-28T04:06:19.922222+00:00, sha 7be9bd6192a3)
  - homepage: https://keycode.info (fetched 2026-08-29T10:30:36.731511+00:00, sha 8cd61df32027)
- Data as of 2026-08-30T08:39:29.467469+00:00.
