30 open-source projects similar to mtrpcic/pathjs, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Pathjs alternative.
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
JavaScript Routes
page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable functions. It functions as a navigation engine and browser history manager, implementing a middleware-based path-mapping system similar to the Express web framework. The library distinguishes itself through an Express-style router model, utilizing a middleware callback chain and a shared context object to pass data between navigation handlers. It supports advanced window management, allowing for multiple router instances to handle navigation independently across different windows or em
TanStack Router is a type-safe routing library for web applications that provides full type safety for paths, search parameters, and data loaders across the entire application stack. It functions as a comprehensive framework for server-side rendering, enabling the generation of complete HTML pages to improve initial load performance and search engine optimization. By integrating declarative data fetching, the library manages asynchronous information at the route level, supporting preloading, caching, and parallel request execution to ensure data is ready before components render. The project
jquery-pjax is a client-side library that combines Ajax requests with the HTML5 History API to replace page content without triggering a full browser reload. It fetches HTML fragments from the server and updates the browser URL using pushState, preserving the page layout and assets while only swapping a designated container's content. The library emits custom JavaScript events at each stage of the request lifecycle, enabling external handlers to respond to loading, success, and error states. The project distinguishes itself through its event-driven navigation model and server-side integration
Connect your Preact components up to that address bar.
A declarative Svelte routing library with SSR support.
Elegua: the best Svelte client router you'll ever see in under 190 LoC.
A client and server side router designed specifically for Meteor.
This module is a router for Svelte 5 applications, specifically optimized for Single Page Applications (SPA).
Svelte Router adds routing to your Svelte apps. It keeps your routes organized in a single place.
A simple middleware-style router for isomorphic JavaScript web apps
qs is a query string parsing and serialization library used to convert URL query strings into JavaScript objects and transform objects or arrays back into URI-encoded strings. It functions as a secure parser and URI encoding utility, specifically designed to handle nested data structures. The library distinguishes itself through configurable nesting styles and array serialization formats. It provides support for custom character encoding logic and utilizes charset sentinels to manage conversions between UTF-8 and ISO-8859-1. To prevent resource exhaustion and security vulnerabilities, the pr
🫦 An SPA router for Svelte that allows you to divide & conquer your app with nested routers, snippets, and more.
URI.js is a full-featured JavaScript library for parsing, building, normalizing, and mutating URLs and their components programmatically. It provides a mutable-component object model that exposes each URL part as a separate object with getter and setter methods, enabling direct manipulation of schemes, hosts, paths, query strings, and fragments. The library implements strict RFC 3986 compliance for encoding, decoding, and normalization of URI components, and includes a template expansion engine that substitutes variables using operator-specific rules. The library distinguishes itself through
Picker is an easy to use server side router for Meteor. This router respect others. So, you can use Iron Router and other routers and middlewares along side with this.
Asynchronous loading for Preact Router. For 440B.
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
Parrot is a PARameter ROUTer made just for building SPAs. It brings state management to a whole new level by letting you store any kind of data on the URL in a fast and convenient way.
Generate a slug – transliteration with a lot of options
React Router is a client-side routing library and declarative routing engine for React applications. It functions as a navigation tool that synchronizes the user interface with the browser address bar, allowing for view transitions without full page reloads. The library maps browser URLs to specific UI components, enabling declarative route management. This ensures the user interface stays in sync with the browser URL to support deep linking and bookmarking. The system covers client-side navigation and application state synchronization through the integration of the browser history interface
React Router is a navigation and data-loading framework that maps URL patterns to nested component hierarchies. It functions as a full-stack router, coordinating server-side resource fetching with client-side hydration to synchronize application state across different environments. By providing a declarative interface for routing, it manages navigation and state transitions while ensuring consistent page structures through root layout management. The framework distinguishes itself through its focus on type safety and incremental adoption. It automatically generates static type definitions for
Redux history binding support react-router - @reach/router - wouter - react-location