TypeScript Router

Open-source TypeScript projects categorized as Router

Top 23 TypeScript Router Projects

  • react-router

    Declarative routing for React

    Project mention: 13 Must Know Libraries for a React Developer | dev.to | 2023-08-15

    React Router is the most popular library to implement routing in React apps. It has more than 50K stars on GitHub and more than 10 million weekly downloads on NPM and it's built by the same team behind the popular Remix framework of React.

  • ui-router

    The de-facto solution to flexible routing with nested views in AngularJS

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • barba

    Create badass, fluid and smooth transitions between your website’s pages.

    Project mention: Seamless Transition Using Highway.js/Barba.js | /r/learnjavascript | 2023-06-30

    It's using Highway.js or Barba.js I am not using any framework on this project.

  • path-to-regexp

    Turn a path string such as `/user/:name` into a regular expression

    Project mention: NextJS 13 - Protecting dynamic routes with middleware file | /r/nextjs | 2023-04-17

    Matchers use path-to-regex, which doesn’t follow regex exactly: https://github.com/pillarjs/path-to-regexp

  • hono

    Lightweight, Ultrafast, Web Standards

    Project mention: Bun, Hono, Vite, TailwindCSS: An amazing combination has just been revealed! | dev.to | 2023-09-10

    Bun is great, yes!, Lately everyone is amazed and I was able to play around with it today, and I found it is pretty awesome to use it alongside with Hono, Vite and TailwindCSS.

  • router

    🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.

    Project mention: TanStack Router - Typesafe, state-management APIs, caching, framework agnostic | /r/reactjs | 2022-11-10

    Start a discussion about what you'd like to see and I'll do my best. https://github.com/tanstack/router/discussions

  • routing-controllers

    Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.

    Project mention: Node.js 20 is now available | news.ycombinator.com | 2023-04-18

    The standard is express. I say that with some glibness, but its the only true answer: a ton of the other higher level frameworks and pluggable middlewares still rely on the core express Request/Response types. And there are a ton of higher level frameworks, if the number of distinct replies wasn't obvious.

    I really like express + routing-controllers [1], if you're on typescript.

    [1] https://github.com/typestack/routing-controllers

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

  • swup

    Versatile and extensible page transition library for server-rendered websites :tada:

    Project mention: Show HN: We built swup+fragment-plugin to visually enhance classic websites | news.ycombinator.com | 2023-08-02

    2. The newly released fragment-plugin [3] that provides a declarative API for dynamically replacing containers based on rules

    I can now finally build websites that tick all three boxes:

    1. Visually impressive, fun, and snappy by using swup's first-class support for animations[4], cache[5], and preload capacities[6], enhanced with fragment visits as seen on the demo site.

    2. Accessible by being able to serve server-rendered semantic markup that will fully work even with JavaScript disabled (try it out on the demo site!). On top of that, swup's a11y plugin[7] will automatically announce page visits to assistive technologies and will focus the new `` element after each visit.

    3. Because now all I need for my fancy frontend is a bit of progressive JavaScript, I can choose whatever tool I like on the server, keeping complexity low and maintainability high. I can use SSGs like eleventy or Astro (the demo site is built using Astro!), I can use any CMS like WordPress or ProcessWire, or a framework like Laravel. And I don't have to maintain an additional node server for SSG!

    And all it took was 20 years! ;)

    [0] https://github.com/swup/swup

  • Router5

    Flexible and powerful universal routing solution

  • universal-router

    A simple middleware-style router for isomorphic JavaScript web apps

  • analog

    Build and ship applications and websites faster with Angular

    Project mention: Announcing the 0.2.0 release of Analog 🎉 | dev.to | 2023-08-21

    If you'd like to take Analog for a spin, check out this blog post on Building a Blog with Analog and Angular. If you want to get involved in the project, check out the GitHub repo.

  • next-connect

    The TypeScript-ready, minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2

    Project mention: Is there any elegant way of executing same logics in getServerSideProps of every page? | /r/nextjs | 2023-04-27

    Try next-connect

  • itty-router

    A little router.

    Project mention: Ask HN: Which stack is as boring (good boring) and cheap in 2023 as PHP? | news.ycombinator.com | 2023-03-11

    Instead of Next and it's bloat, you should try Svelte, a barebones Svelte (not SvelteKit) app feels like a breeze to scaffold and deploy through Netlify or Vercel with nearly 0 configuration. The same can be said about SvelteKit, though you can just get away by using a minimal router like Itty (https://github.com/kwhitley/itty-router) with barebones Svelte (just run npx create-vite, and follow the interactive scaffold process).

  • apprun

    AppRun is a JavaScript library for developing high-performance and reliable web applications using the elm inspired architecture, events and components.

    Project mention: Ask HN: What Happened to Elm? | news.ycombinator.com | 2023-02-10
  • found

    Extensible route-based routing for React applications

    Project mention: Tired of react-router breaking changes. Looking for an alternative router for Vite-based projects | /r/reactjs | 2023-03-28

    We use Graphql/Relay and found Found (https://github.com/4Catalyzer/found) to be a good router. There’s a Relay extension we use for it.

  • generouted

    Generated file-based routes for Vite

    Project mention: Tired of react-router breaking changes. Looking for an alternative router for Vite-based projects | /r/reactjs | 2023-03-28

    https://github.com/oedotme/generouted is a next.js inspired library for wrapping react router or tanstack (and potentially others). Can generate urls based off file system paths.

  • Rill

    🗺 Universal router for web applications.

  • openapi-backend

    Build, Validate, Route, Authenticate and Mock using OpenAPI

  • redux-first-history

    Redux history binding support react-router - @reach/router - wouter - react-location

  • router-module

    Nuxt 2 module to use router.js instead of pages/ directory.

  • pjax-api

    The advanced PJAX superior to SPA.

    Project mention: React Server Components made our site A LOT faster | news.ycombinator.com | 2023-09-21
  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-21.

TypeScript Router related posts


What are some of the best open-source Router projects in TypeScript? This list will help you:

Project Stars
1 react-router 50,963
2 ui-router 13,610
3 barba 11,001
4 path-to-regexp 7,677
5 hono 7,269
6 router 5,123
7 routing-controllers 4,197
8 swup 4,087
9 navigo 2,651
10 Router5 1,721
11 universal-router 1,666
12 analog 1,570
13 next-connect 1,504
14 itty-router 1,302
15 apprun 1,160
16 found 791
17 generouted 631
18 Rill 611
19 navigation 538
20 openapi-backend 487
21 redux-first-history 409
22 router-module 403
23 pjax-api 312
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.