JavaScript Routes
Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side, server-side, and CLI environments. It provides a unified approach to defining routes as nested object literals, where each key maps to a URL segment and its handler, supporting both hash fragment monitoring and the HTML5 History API for browser navigation without page reloads. The library distinguishes itself through its ability to operate in multiple contexts with a single routing paradigm. It supports asynchronous handler queue execution for sequential tasks like authenticatio
Simple, lightweight routing for web browsers
RESTful degradable JavaScript routing using pushState
The main features of olivernn/davis.js are: Routing, Routing Libraries.
Open-source alternatives to olivernn/davis.js include: millermedeiros/crossroads.js — JavaScript Routes. tanstack/router — TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search… flatiron/director — Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side,… lukeed/navaid — A navigation aid (aka, router) for the browser in 850 bytes~! mtrpcic/pathjs — Simple, lightweight routing for web browsers. visionmedia/page.js — page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable…