8 open-source projects similar to lukeed/matchit, ranked by shared indexed features. Tags may describe platforms or build tools rather than the same primary purpose. Check each project’s use case, license, and deployment requirements before treating it as a replacement.
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
Redux-first-router is a state-driven JavaScript router library that maps URL paths, query parameters, and browser history directly to actions within a Redux application store. Instead of manipulating components or relying solely on declarative links, it updates the address bar and navigates the application by dispatching and receiving state container actions. The library translates bidirectionally between URL strings and action payloads using expressive route patterns, supporting dynamic path parsing, parameter constraints, wildcards, query strings, and custom formatting rules. It handles asy
You should only consider using this within a browser context since Node's built-in querystring.stringify is much faster and should be used in a Node environment! An ideal use case is serializing a query object before an API request is sent.
With regexparam, you may turn a pathing string (eg, /users/:id) into a regular expression.
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