:page_facing_up: A simple router for the browser in javascript

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

Related Repos


aloisdeniel Using freezed objects as routes with URI serialization.

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.

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