JavaScript Router

Open-source JavaScript projects categorized as Router | Edit details

Top 23 JavaScript Router Projects

  • vue-router

    🚦 The official router for Vue 2

    Project mention: Recommended Industry Oriented Vue Technology Stack | reddit.com/r/vuejs | 2022-01-12

    Vue Router

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

    Project mention: Ask HN: What JavaScript framework/library would you use for front end only | news.ycombinator.com | 2021-12-10

    You can give Mithril.js [0] a go. It's lightweight and has a couple additional goodies such as routing and xhr inbuilt. It has very good documentation as well.

    You can also enable JSX [1] if you prefer that to hyperscript.

    [0] https://mithril.js.org/

    [1] https://mithril.js.org/jsx.html

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • single-spa

    The router for easy microfrontends

    Project mention: Migrate from AngularJS to React | dev.to | 2022-01-17

    This library takes reconfiguring your current solution to load in multiple apps as front-end microservices. I’m not terribly familiar with the solution as the implementation to do so with an AngularJS app proved to be too tedious at the time of migration. Most examples given are when starting apps from scratch. If there are those that can speak to a legacy migration solution, please let me know your insights in the comments below.

  • wouter

    🥢 A minimalist-friendly ~1.5KB routing for React and Preact. Nothing else but HOOKS.

    Project mention: Vue is Superior to React | reddit.com/r/vuejs | 2021-12-10

    You're right. Vue-router works well enough. I just personally think the minimal/declarative API provided by react-router and wouter is an improvement. I would be surprised if vue-router didn't take the same direction in a future version.

  • swup

    :tada: Complete, flexible, extensible and easy to use page transition library for your static web.

    Project mention: Looking to animate an element on one page, when the next page loads? | reddit.com/r/web_design | 2021-12-01

    barba is good for this sort of thing. It may be a little heavy for just page transitions. maybe pjax or swup might be easier?

  • redux-router

    Redux bindings for React Router – keep your router state inside your Redux store

  • hookrouter

    The flexible, and fast router for react that is entirely based on hooks

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • highway

    Highway - A Modern Javascript Transitions Manager

    Project mention: Using Three.js with page transitions? | reddit.com/r/threejs | 2021-09-07

    Highway.js is another good replacement for Barba. It's actually built by Dogstudio, so would be exactly what they're using on their site. Yuri also has a tutorial on YouTube for that one.

  • find-my-way

    A crazy fast HTTP router

    Project mention: Piko router, a lightweight and blazing fast router for PHP | dev.to | 2021-10-07

    I found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.

  • next-connect

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

    Project mention: Awesome Next.js API Routes with next-api-decorators | reddit.com/r/nextjs | 2021-11-09

    Interesting approach. I am personally not a fan of how it plays out. I think next-connect provides a cleaner approach to this problem. https://github.com/hoangvvo/next-connect

  • react-router-component

    Declarative router component for React.

  • react-router-scroll

    React Router scroll management

  • found

    Extensible route-based routing for React applications

    Project mention: Understanding render-as-you-fetch with Relay | dev.to | 2021-06-02

    So now we need to find a suitable router that can support this pattern of requesting data outside of the render path. The relay community has built an extension to Found - but it hasn't been updated for render-as-you-fetch. The Found router itself is quite flexible and extensible and so you could potentially implement entrypoints on top, but I haven't seen an example of this. As for other routers, I haven't seen any that aren't taking the react-router approach.

  • react-breadcrumbs

    Automatic breadcrumbs for React-Router

  • found-relay

    Relay integration for Found

    Project mention: Understanding render-as-you-fetch with Relay | dev.to | 2021-06-02

    So now we need to find a suitable router that can support this pattern of requesting data outside of the render path. The relay community has built an extension to Found - but it hasn't been updated for render-as-you-fetch. The Found router itself is quite flexible and extensible and so you could potentially implement entrypoints on top, but I haven't seen an example of this. As for other routers, I haven't seen any that aren't taking the react-router approach.

  • luci-wrtbwmon

    Bandwidth tracker for OpenWRT that uses wrtbwmon

    Project mention: Can someone help me understand why there's so much RX traffic on my dumb switch that has no active connections (plugged in directly to another switch > router) | reddit.com/r/openwrt | 2021-02-05
  • monorouter

    An isomorphic JS router

  • cloudflare-worker-router

    A super lightweight router (3.6 kB) with middleware support and ZERO dependencies for CloudFlare Workers, inspired by the express.js syntax.

    Project mention: Why I Fell in Love with Cloudflare Workers | reddit.com/r/javascript | 2021-02-15

    Also way faster, but doesn't support node.js. If you're looking for a more spicific example check out my github: https://github.com/tsndr/cloudflare-worker-router There's also a more manual style article in works, so stay tuned for that.

  • router-benchmark

    Benchmark of the most commonly used http routers

    Project mention: What are some ways that large new sites handle URLs/routing for the shear number of publications they put out on a daily basis? | reddit.com/r/webdev | 2021-08-11

    For static routes e.g. /help or /about, these are loaded into a radix tree structure. There are expensive (memory wise), but still fast when resolving the handler. You can look at benchmarks of popular router implementations and see how they fare with large amounts of static routes.

  • react-native-boilerplate

    Ready-made structure of your next React Native application within a few minutes. (by VaheSaroyan)

    Project mention: Importing modules with @ | reddit.com/r/reactnative | 2021-06-24

    The @ is an alias and is defined in this file https://github.com/VaheSaroyan/react-native-boilerplate/blob/master/template/babel.config.js

  • cerebral-module-router

    An opinionated URL change handler for Cerebral

  • nuxt-route-meta

    Adds Nuxt page data to route meta at build time. Also supports TypeScript.

    Project mention: Show HN: nuxt-route-meta – Access Nuxt page data in route objects | news.ycombinator.com | 2021-05-13
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 2022-01-17.

JavaScript Router related posts

Index

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

Project Stars
1 vue-router 18,673
2 Mithril.js 13,097
3 single-spa 10,581
4 wouter 3,796
5 swup 3,202
6 redux-router 2,322
7 hookrouter 1,468
8 highway 1,329
9 find-my-way 974
10 next-connect 908
11 react-router-component 878
12 react-router-scroll 842
13 found 749
14 navaid 704
15 react-breadcrumbs 408
16 found-relay 266
17 luci-wrtbwmon 230
18 monorouter 140
19 cloudflare-worker-router 59
20 router-benchmark 59
21 react-native-boilerplate 36
22 cerebral-module-router 19
23 nuxt-route-meta 18
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms