JavaScript Routing

Remix
Declarative routing for React

remix-run/react-router

React Router React Router is a complete routing library for React. React Router keeps your UI in sync with the URL. It has a simple API with powerful features like lazy code loading, dynamic route matching, and location tran

 45.8k

Tiny Express-inspired client-side router. page('/', index) page('/user/:user', show) page('/user/:user/edit', edit) page('/user/:user/album', album) page('/user/:user/album/sort', sort) page('*', notfound) page()

 7.4k

Synopsis Director is a router. Routing is the process of determining what code to run when a URL is requested. Motivation A routing library that works in both the browser and node.js environments with as few differe

 5.6k

Router5 Official website: router5.js.org router5 is a framework and view library agnostic router. view / state separation: router5 processes routing instructions and outputs state updates. universal: works clien

 1.7k

react-enroute Simple React router with a small footprint for modern browsers. The lib is not replacement for react-router, just a smaller simpler alternative. See path-to-regexp for matching pattern rules and options. Check enco

 1.5k

An ORM-like Interface and a Router For Your API Requests Create simple, reusable, and cleaner wrappers, define custom routes, and more for your API requests. Read the official docs at https://rapidjs.io.

 708

? Micro Router - A tiny and functional router for ZEIT's micro ? Features Tiny. Just couple lines of code. Functional. Write your http methods using functions. Async. Design to use with async/a

 624

gibon Functional client-side router in ~570 bytes, built on HTML5 History API You might also be interested in mitt - a 200 bytes event emitter, and hyperapp - build rich UI apps with 1kb. ✨ Pull request

 467

regexparam A tiny (299B) utility that converts route patterns into RegExp. Limited alternative to path-to-regexp ? With regexparam, you may turn a pathing string (eg, /users/:id) into a regular expression. An o

 465

pagex ? A simple router for the browser in Javascript. It works with RegExp and Paths: pagex(path, [negate], callback, [pathname]); // Call a function if the current page is exactly `/users` pagex('/users', () =&gt

 334

router A simple js router designed to solve one problem outside of any other frameworks like React, Angular, or Vue Installing npm install --save @kevindurb/router Usage import { router } from '@k

 284
Luis Flores
Simple route-matching library to handle deep links

luisfcofv/react-native-deep-linking

Overview React Native route-matching library to handle deep links. Installation This package is distributed via npm: npm install react-native-deep-linking Add deep link support to your app

 240
Jesse Ditson
Use the FS as your micro router

jesseditson/fs-router

fs-router Use the FS as your micro router "features" ✅ 0 runtime dependencies ✅ < 100 loc ✅ little or no config ✅ parameterized paths ✅ parses query s

 163

rocon Ultimate type safety for your routing and navigation. Usage See the Rocon Tutorial. Currently React binding of Rocon is provided. Supported Brow

 163

minrouter a micro middleware router that can be used in both client-side (e.g. dot.js, vue, react, preact) and server-side applications (e.g. Node.js/Express, Koa) features support koa support express

 158

redux-tower Saga powered routing engine for Redux apps. redux-tower provides a way to fully control client-side routing with its related side effects such as data fetching, user authentication, fancy animations. NOTICE: T

 156

React Plain Router A tiny React router that works exactly as expected with native Javascript: // App.js import React from 'react'; import router from 'react-plain-router'; // Wrap it and you can use normal anchor links expo

 118
Ryan Whitmire
Routing for React

rwhitmire/react-routify

React Routify The purpose of React Routify is to provide routing to React applications without scattering domain specific language throughout your codebase. Wherever possible, React Routify uses existing constructs provded by Re

 117

nmux is a multiplexer for Neovim processes. It is very much a work in progress at the moment. It currently has a built-in HTTP server that renders a single nvim process in your browser using websockets as a proof-of-concept. Sh

 105

Boring Router A light-weight, type-safe, yet reactive router service using MobX. Why There are multiple reasons pushing me to write Boring Router instead of sticking with React Router. Making React Router work

 75

township-accounts-api route handlers to use in your REST API to handle user management quick start var Township = require('township-accounts-api') var db = require('memdb') // can be any levelup e.g. level-party or

 72
Hunter Tunnicliff
Next.js API Middleware

htunnicliff/next-api-middleware

Next.js API routes are a ridiculously fun and simple way to add backend functionality to a React app. However, when it comes time to add middleware, there is no easy way to implement it.

 42

react-chicane A simple and safe router for React and TypeScript. Installation yarn add react-chicane Run the example git clone [email protected]:zoontek/

 34

@egoist/router A router that works in Node.js, browser and Deno. Install For Node.js: npm i @egoist/router import { Router } from '@egoist/router' For

 33

A tiny (660 bytes) router for Nano Stores state manager

 24
Aloïs Deniel
Using freezed unions as a router for URIs.

aloisdeniel/freezed_uri_router

Using freezed objects as routes with URI serialization.

 14

Next.js API Compose · Introduction This library provides simple yet complete higher order function with responsibility of composing multiple middlewar

 14
Fazt Web
React Router v6 Tutorial

FaztWeb/react-router-tutorial

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

 8