router-middleware
JSON →An Express-style router for Node.js with full TypeScript safety, including inferred route params from path strings (e.g., '/user/:id' gives req.params.id: string) and typed request/response bodies via generic parameters. Current stable version is 6.1.6. Key differentiators: no view engine, no global state, dual ESM/CJS exports, built-in error handling, and safe defaults (1 MB JSON limit, strict content-type checks). Released actively with regular updates; ships its own TypeScript types.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 4 distinct systems
last hit 17d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · AE · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/router-middleware
compatibility /v1/registry/router-middleware/compatibility