Skip to content
JS
Package category

Routing

Client-side and server-side routers.

314 packages2 comparisons

Packages compared

314 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
type-route
The flexible, type safe routing library.
3.7k+32%-2 years ago
1.1.0
ESM + CommonJSBundledTypeScript 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 onlyBundledRouting
@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 onlyBundledRouting, 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 + CommonJSNoneReact, Routing
@aurelia/router
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![CircleCI](https://circleci.com/
3.3k---1 month ago
2.0.0-rc.2
ESM + CommonJSBundledHTTP servers and web frameworks, TypeScript tooling
react-router-guards
Guard middleware for React Router navigation
3.2k+76%-6 years ago
1.0.2
ESM + CommonJSBundledReact, Routing
winterspec
Write Winter-CG compatible routes with filesystem routing and tons of features
3.2k-36%-11 months ago
0.0.114
ESM + CommonJSBundledRouting
@lomray/vite-ssr-boost
SSR and streaming for existing Vite + React Router apps in Data mode, without Framework mode
3.1k---2 days ago
8.6.0
ESM onlyBundledRouting, React
storybook-addon-angular-router
Addon to enable logging and mocking for the angular router in storybook
3k-54%-1 year ago
1.10.1
CommonJSNoneRouting, Angular
@real-router/core
A simple, powerful, view-agnostic, modular and extensible router
3k---1 day ago
0.148.0
ESM + CommonJSBundledRouting
@cloudflare/itty-router-openapi
OpenAPI schema generator and validator for Cloudflare Workers
3k---2 years ago
1.1.1
ESM + CommonJSBundledCloud SDKs, TypeScript tooling
itty-router-extras
An assortment of delicious extras for the calorie-light itty-router.
3k-33%-2 years ago
0.4.6
CommonJSNoneCloud SDKs, Routing
cypress-react-router
Adds cy.routerNavigate() 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 + CommonJSBundledRouting, React
ng-router-loader
Webpack loader for `NgModule` lazy loading using the angular router
2.9k-37%-9 years ago
2.1.0
CommonJSBundledBundler plugins and loaders, Routing
@ruvector/router-darwin-arm64
Semantic router for AI agents - darwin-arm64 platform
2.9k---4 days ago
0.1.31
CommonJSNoneRouting
lrm-graphhopper
Support for GraphHopper in Leaflet Routing Machine
2.9k+91%-7 years ago
1.3.0
CommonJSNoneRouting, Maps and geolocation
wayfarer
Composable trie based router
2.9k-42%-6 years ago
7.0.1
CommonJSNoneRouting, React
url-matcher
A pattern matcher library for routes with typed parameters
2.8k+13%-9 years ago
0.2.2
CommonJSNoneURLs and query strings, Routing
@routingjs/valhalla
RoutingJS Valhalla Module
2.8k---2 years ago
0.3.0
ESM + CommonJSBundledRouting
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 onlyBundledStatic 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 + CommonJSBundledRouting, HTTP servers and web frameworks
@next/routing
Next.js shared route resolving
2.7k---2 days ago
16.3.6
CommonJSBundledReact, 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 onlyBundledReact, Routing
@ruvector/router-win32-x64-msvc
Semantic router for AI agents - win32-x64-msvc platform
2.6k---4 days ago
0.1.31
CommonJSNoneRouting
redux-router
Redux bindings for React Router — keep your router state inside your Redux Store.
2.6k+29%-10 years ago
2.1.2
CommonJSNoneRouting, React
remix-routes
Typesafe routing for Remix apps.
2.5k-5%-2 years ago
1.7.7
CommonJSBundledRouting, TypeScript tooling
piwik-react-router
Piwik analytics component for react-router
2.5k-11%-8 years ago
0.12.1
CommonJSNoneRouting, 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 + CommonJSBundledRouting, 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
CommonJSBundledReact, 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 onlyBundledRouting, 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
CommonJSNoneRouting
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
CommonJSBundledRouting, 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 onlyBundledRouting
switch
Zero dependency routing for the browser and Node.js.
2.2k+51%-14 years ago
0.0.0
-NoneRouting
@grammyjs/router
Router middleware for grammY
2.1k---4 years ago
2.0.0
CommonJSBundledRouting
hash-brown-router
A client-side router that only cares about the bits after the #
2.1k+649%-7 years ago
3.4.1
CommonJSNoneRouting
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
CommonJSBundledRouting
path-to-regexp-with-reversible-keys
A fork with an extra feature
2.1k+779%-11 years ago
1.0.3
-NoneRouting, 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
CommonJSNoneRouting
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
CommonJSNoneRouting
redux-router5
Router5 integration with redux
2k-51%-6 years ago
8.0.1
ESM + CommonJSBundledState management, React
zevairouter
Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard
2k--5 days ago
1.1.29
-NoneRouting
@compas/code-gen
Generate various boring parts of your server
2k---11 days ago
0.26.0
ESM onlyBundledRouting, 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 onlyBundledRouting, 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 + CommonJSNoneDOM 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 + CommonJSBundledRouting, 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
CommonJSBundledRouting, 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 + CommonJSBundledSchema 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
CommonJSNoneRouting, 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 + CommonJSBundledRouting, 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[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![CircleCI](https://circleci.com/
  • react-router-guardsGuard middleware for React Router navigation
  • winterspecWrite Winter-CG compatible routes with filesystem routing and tons of features
  • @lomray/vite-ssr-boostSSR and streaming for existing Vite + React Router apps in Data mode, without Framework mode
  • storybook-addon-angular-routerAddon to enable logging and mocking for the angular router in storybook
  • @real-router/coreA simple, powerful, view-agnostic, modular and extensible router
  • @cloudflare/itty-router-openapiOpenAPI schema generator and validator for Cloudflare Workers
  • itty-router-extrasAn assortment of delicious extras for the calorie-light itty-router.
  • cypress-react-routerAdds cy.routerNavigate() 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.