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. Learn more →
Top 23 TypeScript Router Projects
-
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.
-
-
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.
-
It's using Highway.js or Barba.js I am not using any framework on this project.
-
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
-
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-10Start 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.
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.
-
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.
-
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! ;)
-
-
-
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-27Try next-connect
-
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: 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.
-
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.
-
-
-
redux-first-history
Redux history binding support react-router - @reach/router - wouter - react-location
-
-
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!
TypeScript Router related posts
- GitHub - routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- GitHub - routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- Routup: Lightweight and faster, extendable routing library for Node.js
- Web Framework for the Edges
- I've just found this edge framework for Cloudflare and it's fucking awesome
- Show HN: We built swup+fragment-plugin to visually enhance classic websites
-
A note from our sponsor - Amplication
amplication.com | 22 Sep 2023
Index
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 |