HTTP Path Tree Router
JSON →http-hash is an HTTP router for Node.js that organizes routes into a strict path tree structure, enabling resolution independent of definition order. Unlike traditional regex-based routers where route order can affect matching, http-hash segments paths (e.g., `/foo/bar` becomes `foo > bar`) to build a tree, supporting static segments, named parameters (`:param`), and splats (`*`). This approach simplifies reasoning about route precedence. The current stable version is 2.0.1, last published approximately 7 years ago (as of April 2026), indicating a long-abandoned project with infrequent or no further development. It primarily targets CommonJS environments.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 19d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany
API endpoints
full doc /v1/registry/http-hash
install /v1/registry/http-hash/install
compatibility /v1/registry/http-hash/compatibility