Package category
Routing
Client-side and server-side routers.
314 packages2 comparisons
Packages compared
314 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| type-route The flexible, type safe routing library. | 3.7k | +32% | - | 2 years ago 1.1.0 | ESM + CommonJS | Bundled | TypeScript tooling, Routing | |
| react-router-auto-routes Automatic folder-based routing with colocation for React Router v7+ | 3.6k | +585% | - | 1 month ago 1.0.0 | ESM only | Bundled | Routing | |
| @o3r/routing This module helps you to configure an Otter application's routing (POST parameter management, preloading strategy, guard recommendation). | 3.3k | - | - | - | 1 day ago 15.1.2 | ESM only | Bundled | Routing, Angular |
| react-router-enzyme-context A helper for mocking react router v4 context and childContextTypes when testing components with Enzyme mount() and shallow(). | 3.3k | -32% | - | 8 years ago 1.2.0 | ESM + CommonJS | None | React, Routing | |
| @aurelia/router [](https://opensource.org/licenses/MIT) [](http://www.typescriptlang.org/) [ command to the Cypress object to navigate using the React Router Dom history API. The command take the to and an optional options object as parameters. | 2.9k | +4% | - | 4 years ago 2.0.1 | ESM + CommonJS | Bundled | Routing, React | |
| ng-router-loader Webpack loader for `NgModule` lazy loading using the angular router | 2.9k | -37% | - | 9 years ago 2.1.0 | CommonJS | Bundled | Bundler plugins and loaders, Routing | |
| @ruvector/router-darwin-arm64 Semantic router for AI agents - darwin-arm64 platform | 2.9k | - | - | - | 4 days ago 0.1.31 | CommonJS | None | Routing |
| lrm-graphhopper Support for GraphHopper in Leaflet Routing Machine | 2.9k | +91% | - | 7 years ago 1.3.0 | CommonJS | None | Routing, Maps and geolocation | |
| wayfarer Composable trie based router | 2.9k | -42% | - | 6 years ago 7.0.1 | CommonJS | None | Routing, React | |
| url-matcher A pattern matcher library for routes with typed parameters | 2.8k | +13% | - | 9 years ago 0.2.2 | CommonJS | None | URLs and query strings, Routing | |
| @routingjs/valhalla RoutingJS Valhalla Module | 2.8k | - | - | - | 2 years ago 0.3.0 | ESM + CommonJS | Bundled | Routing |
| state-in-url Store state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-16, react-router@6-7, remix@2, and Astro. | 2.8k | +21% | - | 2 days ago 8.0.0 | ESM only | Bundled | Static site generators and meta-frameworks, State management | |
| node-file-router A powerful file-based routing for Express.js, Bun, pure Node.js and more | 2.7k | +1547% | - | 10 months ago 0.9.0 | ESM + CommonJS | Bundled | Routing, HTTP servers and web frameworks | |
| @next/routing Next.js shared route resolving | 2.7k | - | - | - | 2 days ago 16.3.6 | CommonJS | Bundled | React, Static site generators and meta-frameworks |
| use-url-storage-state React hook for syncing state with URL parameters | 2.6k | +412660% | - | 3 months ago 1.2.0 | ESM only | Bundled | React, Routing | |
| @ruvector/router-win32-x64-msvc Semantic router for AI agents - win32-x64-msvc platform | 2.6k | - | - | - | 4 days ago 0.1.31 | CommonJS | None | Routing |
| redux-router Redux bindings for React Router — keep your router state inside your Redux Store. | 2.6k | +29% | - | 10 years ago 2.1.2 | CommonJS | None | Routing, React | |
| remix-routes Typesafe routing for Remix apps. | 2.5k | -5% | - | 2 years ago 1.7.7 | CommonJS | Bundled | Routing, TypeScript tooling | |
| piwik-react-router Piwik analytics component for react-router | 2.5k | -11% | - | 8 years ago 0.12.1 | CommonJS | None | Routing, React | |
| @tour-kit/react React onboarding & product tour components — accessible, headless, Tailwind & shadcn-ready, with Next.js, React Router, TanStack adapters. | 2.5k | - | - | - | 1 day ago 3.0.1 | ESM + CommonJS | Bundled | Routing, React |
| @supa-media/testing Reusable test suites that catch common Expo/React Native gotchas — routing conflicts, web bundle safety, React resolution, native import gating | 2.4k | - | - | - | 14 days ago 1.0.2 | CommonJS | Bundled | React, Testing |
| @maplibre/maplibre-gl-directions A plugin to show routing directions on a MapLibre GL JS map. Supports any [OSRM](http://project-osrm.org/) or [Mapbox Directions API](https://docs.mapbox.com/api/navigation/directions/) compatible Routing-provider. | 2.4k | - | - | - | 3 days ago 0.10.1 | ESM only | Bundled | Routing, Maps and geolocation |
| uri-template-router Match a URI to a pattern in a collection of URI Templates | 2.3k | +30% | - | 11 months ago 1.0.0 | CommonJS | None | Routing | |
| adaptive-memory-multi-model-router A3M Router: Parallel LLM routing gateway with ensemble voting — 14% faster than OpenRouter, 92% cheaper | 80+ providers | Fixed: main entry point, TypeScript 5.8, blessed types | npm: 6K+/mo | PyPI: 700+/mo | 2.2k | - | - | 6 days ago 2.16.3 | CommonJS | Bundled | Routing, Node.js utilities | |
| abstract-state-router Like ui-router, but without all the Angular. The best way to structure a single-page webapp. | 2.2k | +548% | - | 2 months ago 8.0.8 | ESM only | Bundled | Routing | |
| switch Zero dependency routing for the browser and Node.js. | 2.2k | +51% | - | 14 years ago 0.0.0 | - | None | Routing | |
| @grammyjs/router Router middleware for grammY | 2.1k | - | - | - | 4 years ago 2.0.0 | CommonJS | Bundled | Routing |
| hash-brown-router A client-side router that only cares about the bits after the # | 2.1k | +649% | - | 7 years ago 3.4.1 | CommonJS | None | Routing | |
| restify-router A router interface for restify that lets you aggregate route definitions and apply to a restify server | 2.1k | +15% | - | 5 years ago 0.6.2 | CommonJS | Bundled | Routing | |
| path-to-regexp-with-reversible-keys A fork with an extra feature | 2.1k | +779% | - | 11 years ago 1.0.3 | - | None | Routing, HTTP servers and web frameworks | |
| page-path-builder Uses a page.js-style routing string to build up a path you can link to | 2.1k | +816% | - | 9 years ago 1.0.4 | CommonJS | None | Routing | |
| lit-element-router A LitElement Router (1278 bytes gzip) that uses JavaScript Mixin, Decorators and RegExp. | 2.1k | +4% | - | 6 years ago 2.0.3 | CommonJS | None | Routing | |
| redux-router5 Router5 integration with redux | 2k | -51% | - | 6 years ago 8.0.1 | ESM + CommonJS | Bundled | State management, React | |
| zevairouter Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard | 2k | - | - | 5 days ago 1.1.29 | - | None | Routing | |
| @compas/code-gen Generate various boring parts of your server | 2k | - | - | - | 11 days ago 0.26.0 | ESM only | Bundled | Routing, ORMs and query builders |
| @nanostores/router A tiny (725 bytes) router for Nano Stores state manager | 1.9k | - | - | - | 2 months ago 1.1.0 | ESM only | Bundled | Routing, React |
| @moxy/next-router-scroll Take control of when scroll is updated and restored in your Next.js projects | 1.9k | - | - | - | 5 years ago 2.2.0 | ESM + CommonJS | None | DOM and browser utilities, Static site generators and meta-frameworks |
| @ibm/mobx-react-router Keep your MobX state in sync with react-router | 1.9k | - | - | - | 6 months ago 6.1.3 | ESM + CommonJS | Bundled | Routing, State management |
| knxultimate KNX protocol implementation for Node.js, support KNX/IP Tunneling/Routing, KNX/IP Secure and Data Secure, FT1.2/KBerry TP plain KNXas well as full secure KNX stack. This is the ENGINE of Node-Red KNX-Ultimate node. Go check it! | 1.9k | +80% | - | 11 days ago 6.0.6 | CommonJS | Bundled | Routing, Node.js utilities | |
| koa-zod-router Inspired by koa-joi-router, this package aims to provide a similar feature-set while leveraging Zod and Typescript to create typesafe routes and middlewares with built in I/O validation. | 1.9k | -77% | - | 2 years ago 2.3.0 | ESM + CommonJS | Bundled | Schema validation, HTTP servers and web frameworks | |
| redux-react-router Redux bindings for React Router — keep your router state inside your Redux Store. | 1.9k | +34% | - | 11 years ago 1.0.0-beta3 | CommonJS | None | Routing, React | |
| dynamsoft-capture-vision-router The Dynamsoft Capture Vision Router module is the cornerstone of the Dynamsoft Capture Vision architecture. | 1.9k | -31% | - | - 2.4.33 | ESM + CommonJS | Bundled | Routing, TypeScript tooling |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- type-routeThe flexible, type safe routing library.
- react-router-auto-routesAutomatic folder-based routing with colocation for React Router v7+
- @o3r/routingThis module helps you to configure an Otter application's routing (POST parameter management, preloading strategy, guard recommendation).
- react-router-enzyme-contextA helper for mocking react router v4 context and childContextTypes when testing components with Enzyme mount() and shallow().
- @aurelia/router[](https://opensource.org/licenses/MIT) [](http://www.typescriptlang.org/) [ command to the Cypress object to navigate using the React Router Dom history API. The command take the to and an optional options object as parameters.
- ng-router-loaderWebpack loader for `NgModule` lazy loading using the angular router
- @ruvector/router-darwin-arm64Semantic router for AI agents - darwin-arm64 platform
- lrm-graphhopperSupport for GraphHopper in Leaflet Routing Machine
- wayfarerComposable trie based router
- url-matcherA pattern matcher library for routes with typed parameters
- @routingjs/valhallaRoutingJS Valhalla Module
- state-in-urlStore state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-16, react-router@6-7, remix@2, and Astro.
- node-file-routerA powerful file-based routing for Express.js, Bun, pure Node.js and more
- @next/routingNext.js shared route resolving
- use-url-storage-stateReact hook for syncing state with URL parameters
- @ruvector/router-win32-x64-msvcSemantic router for AI agents - win32-x64-msvc platform
- redux-routerRedux bindings for React Router — keep your router state inside your Redux Store.
- remix-routesTypesafe routing for Remix apps.
- piwik-react-routerPiwik analytics component for react-router
- @tour-kit/reactReact onboarding & product tour components — accessible, headless, Tailwind & shadcn-ready, with Next.js, React Router, TanStack adapters.
- @supa-media/testingReusable test suites that catch common Expo/React Native gotchas — routing conflicts, web bundle safety, React resolution, native import gating
- @maplibre/maplibre-gl-directionsA plugin to show routing directions on a MapLibre GL JS map. Supports any [OSRM](http://project-osrm.org/) or [Mapbox Directions API](https://docs.mapbox.com/api/navigation/directions/) compatible Routing-provider.
- uri-template-routerMatch a URI to a pattern in a collection of URI Templates
- adaptive-memory-multi-model-routerA3M Router: Parallel LLM routing gateway with ensemble voting — 14% faster than OpenRouter, 92% cheaper | 80+ providers | Fixed: main entry point, TypeScript 5.8, blessed types | npm: 6K+/mo | PyPI: 700+/mo
- abstract-state-routerLike ui-router, but without all the Angular. The best way to structure a single-page webapp.
- switchZero dependency routing for the browser and Node.js.
- @grammyjs/routerRouter middleware for grammY
- hash-brown-routerA client-side router that only cares about the bits after the #
- restify-routerA router interface for restify that lets you aggregate route definitions and apply to a restify server
- path-to-regexp-with-reversible-keysA fork with an extra feature
- page-path-builderUses a page.js-style routing string to build up a path you can link to
- lit-element-routerA LitElement Router (1278 bytes gzip) that uses JavaScript Mixin, Decorators and RegExp.
- redux-router5Router5 integration with redux
- zevairouterSelf-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard
- @compas/code-genGenerate various boring parts of your server
- @nanostores/routerA tiny (725 bytes) router for Nano Stores state manager
- @moxy/next-router-scrollTake control of when scroll is updated and restored in your Next.js projects
- @ibm/mobx-react-routerKeep your MobX state in sync with react-router
- knxultimateKNX protocol implementation for Node.js, support KNX/IP Tunneling/Routing, KNX/IP Secure and Data Secure, FT1.2/KBerry TP plain KNXas well as full secure KNX stack. This is the ENGINE of Node-Red KNX-Ultimate node. Go check it!
- koa-zod-routerInspired by koa-joi-router, this package aims to provide a similar feature-set while leveraging Zod and Typescript to create typesafe routes and middlewares with built in I/O validation.
- redux-react-routerRedux bindings for React Router — keep your router state inside your Redux Store.
- dynamsoft-capture-vision-routerThe Dynamsoft Capture Vision Router module is the cornerstone of the Dynamsoft Capture Vision architecture.