A navigation aid (aka, router) for the browser in 850 bytes~!
Die Hauptfunktionen von lukeed/navaid sind: Routers and URL Utils, Routing, Routing Libraries.
Open-Source-Alternativen zu lukeed/navaid sind unter anderem: flatiron/director — Director is a routing library for JavaScript that handles URL and command-line pattern matching across client-side,… olivernn/davis.js — RESTful degradable JavaScript routing using pushState. molefrog/wouter — Wouter is a minimalist client-side routing library for React and Preact. It uses a hook-based system to map URL paths… millermedeiros/crossroads.js — JavaScript Routes. mtrpcic/pathjs — Simple, lightweight routing for web browsers. tanstack/router — TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search…
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
Wouter is a minimalist client-side routing library for React and Preact. It uses a hook-based system to map URL paths to components, managing navigation and URL state without requiring a mandatory provider. The library is designed for cross-ecosystem compatibility between React and Preact and supports server-side rendering by accepting initial paths and search strings during markup generation. It includes a URL parameter manager for extracting dynamic path segments and query strings from the browser address bar. Capabilities include hierarchical nested routing, programmatic navigation manage
JavaScript Routes
Simple, lightweight routing for web browsers