a tiny and isomorphic URL router for JavaScript

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
Category: JavaScript / Routing
Watchers: 164
Star: 5.6k
Fork: 519
Last update: Nov 16, 2023

Related Repos

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

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

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

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

egoist @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

htunnicliff 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.

aloisdeniel Using freezed objects as routes with URI serialization.

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

franciscop 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

router5 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

kevindurb 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

mufancom 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

lukeed 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

visionmedia 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()

rapidjs 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.