Commit the registry snapshot
Builds read a reviewed file instead of fetching the registry at runtime, which makes them deterministic. The trade-off is periodic maintenance when the registry changes.
A small, type-safe library of standards-backed HTTP status codes for Node.js and browsers.
Developers need status-code names, categories, and lifecycle metadata. Without a library they fall back on memorized numeric checks or hand-written lists that go stale, and many alternatives bring a heavier dependency than the task needs.
The IANA registry changes over time.
Obsolete, temporary, and unused codes must remain distinguishable.
Typing and ESM and CommonJS compatibility must not depend on live network access.
A committed snapshot of the IANA registry generates the typed library. Constants, predicates, and metadata are exposed as separately importable entry points, and a workspace-linked interactive reference plus automated registry and release workflows keep the snapshot and package in step.
A committed IANA-derived registry generates the typed lookups, parsers, and status-class predicates.
Constants, predicates, and metadata ship as independently importable entry points alongside the complete main API.
An interactive status reference consumes the local library, and automated workflows maintain the registry and handle releases.
Builds read a reviewed file instead of fetching the registry at runtime, which makes them deterministic. The trade-off is periodic maintenance when the registry changes.
Flattening every number to "valid" would hide whether a code is permanent, temporary, obsolete, or unused, which is information callers can need.
Focused imports let consumers pull in only what they use, while the main entry point still offers the complete API.

Share your challenge, scope, and timeline to start a focused conversation.