path-to-regexp
node-file-router
path-to-regexp | node-file-router | |
---|---|---|
2 | 2 | |
7,974 | 129 | |
0.7% | - | |
5.8 | 8.6 | |
18 days ago | about 5 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
path-to-regexp
-
NextJS 13 - Protecting dynamic routes with middleware file
Matchers use path-to-regex, which doesn’t follow regex exactly: https://github.com/pillarjs/path-to-regexp
-
NextJS custom image loader with WebP support and polyfill
Extremely hacky Regex-like syntax path-to-regexp
node-file-router
-
Using Node File Router for file-based routing in Node.js
What if you like the freedom of using file-based routing in pure Node.js or any library you choose without being limited to a specific framework? That's where Node File Router comes in.
-
File-Based Routing in Node.js
Examples with Express, WebSockets, ECMAScript, and more
What are some alternatives?
express-openapi-validator - 🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
typera - Type-safe routes for Express and Koa
zemi - zemi is a data-driven and reverse-routing library for Express JS.
krabs - 🦀 Express.js/Fastify middleware and virtual host for multi-tenant Next.js applications
express-file-routing - Flexible file-based routing for Express (like Next.js + additional features)
openapi-backend - Build, Validate, Route, Authenticate and Mock using OpenAPI
ui-router - The de-facto solution to flexible routing with nested views in AngularJS
gridtap-turbo - Tap fast and climb the leaderboards in Gridtap Turbo, a fast-paced grid-tapping challenge
router - 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
express-validator - An express.js middleware for validator.js.
openapi-backend - Build, Validate, Route, Authenticate and Mock using OpenAPI [Moved to: https://github.com/openapistack/openapi-backend]