javascript-route-matcher - A simple route matching / url building utility

  •        6

A simple route matching / url building utility. Intended to be included as part of a larger routing library. In the browser, you can attach routeMatcher to any object.

https://github.com/cowboy/javascript-route-matcher

Tags
Implementation
License
Platform

   




Related Projects

MVC Route/URL Generation Unit Tester

  •    

Provides convenient, easy to use methods that let you unit test the route table in your ASP.NET MVC application. Unlike many libraries, this lets you test routes both ways -- both incoming and going. You can specify an incoming request and assert that it matches a given route ...

crossroads.js - JavaScript Routes

  •    Javascript

Crossroads.js is a routing library inspired by URL Route/Dispatch utilities present on frameworks like Rails, Pyramid, Django, CakePHP, CodeIgniter, etc... It parses a string input and decides which action should be executed by matching the string against multiple patterns.If used properly it can reduce code complexity by decoupling objects and also by abstracting navigation paths.

found - Extensible route-based routing for React applications

  •    Javascript

Extensible route-based routing for React applications. Found is a router for React applications with a focus on power and extensibility. Found uses static route configurations. This enables efficient code splitting and data fetching with nested routes. Found also offers extensive control over indicating those loading states, even for routes with code bundles that have not yet been downloaded.

routes.js - a minimalist url-style routing library, extracted from connect

  •    Javascript

routes lets you easily dispatch based on url-style strings. It comes with a default Router function that you can use to route http requests, but it also cleanly exposes the important functionality so you could also use it to perform more generic string pattern matching. The full range of Path Formats is documented below.

ziggy - Use your Laravel named routes in JavaScript

  •    Javascript

Ziggy creates a Blade directive which you can include in your views. This will export a JavaScript object of your application's named routes, keyed by their names (aliases), as well as a global route() helper function which you can use to access your routes in your JavaScript. (if Laravel 5.4) Add Tightenco\Ziggy\ZiggyServiceProvider::class to the providers array in your config/app.php.


react-engine - a composite render engine for universal (isomorphic) express apps to render both plain react views and react-router views

  •    Javascript

Pass in a JavaScript object as options to the react-engine's server engine create method. The options object should contain the mandatory routes property with the route definition.routesFilePath: <String> - path for the file that contains the react router routes. react-engine uses this behind the scenes to reload the routes file in cases where express's app property view cache is false, this way you don't need to restart the server every time a change is made in the view files or routes file.

Ham - PHP Microframework

  •    PHP

PHP Microframework for use with whatever you like. Basically just a fast router with nice syntax, and a cache singleton. Will add more things as I go, like perhaps an extension system, autoloader and some other stuff to make developing in PHP less irritating than it currently is. Routes are converted to regex and cached so this process does not need to happen every request. Furthermore, the resolved route for a given URI is also cached so on most requests thare is no regex matching involved.

ember-route-action-helper - Bubble closure actions in routes

  •    Javascript

ember-router-action-helper is built and maintained by DockYard, contact us for expert Ember.js consulting. The route-action helper allows you to bubble closure actions, which will delegate it to the currently active route hierarchy per the bubbling rules explained under actions. Like closure actions, route-action will also have a return value.

URI.JS - Javascript URL mutation library

  •    Javascript

URI.js is a javascript library for working with URLs. It offers a "jQuery-style" API (Fluent Interface, Method Chaining) to read and write all regular components and a number of convenience methods like .directory() and .authority(). URI.js offers simple, yet powerful ways of working with query string, has a number of URI-normalization functions and converts relative/absolute paths. While URI.js provides a jQuery plugin. URI.js itself does not rely on jQuery. You don't need jQuery to use URI.js

mux - A powerful URL router and dispatcher for golang.

  •    Go

Package gorilla/mux implements a request router and dispatcher for matching incoming requests to their respective handler. The name mux stands for "HTTP request multiplexer". Like the standard http.ServeMux, mux.Router matches incoming requests against a list of registered routes and calls a handler for the route that matches the URL or other conditions.

vue-navigation - A page navigation library, record routes and cache pages, like native app navigation

  •    Javascript

require vue 2.x and vue-router 2.x. !important: vue-navigation adds a key to the url to distinguish the route. The default name of the key is VNK, which can be modified.

route - Simple route middleware

  •    Javascript

Uber simple route middleware for koa. If you need a full-featured solution check out koa-router, a Koa clone of express-resource.

Crossroad - :oncoming_bus: Route URL schemes easily

  •    Swift

Route URL schemes easily. Crossroad is an URL router focused on handling Custom URL Scheme. Using this, you can route multiple URL schemes and fetch arguments and parameters easily.

url-parse - Small footprint URL parser that works seamlessly across Node

  •    Javascript

The url-parse method exposes two different API interfaces. The url interface that you know from Node.js and the new URL interface that is available in the latest browsers.In version 0.1 we moved from a DOM based parsing solution, using the <a> element, to a full Regular Expression solution. The main reason for this was to make the URL parser available in different JavaScript environments as you don't always have access to the DOM. An example of such environment is the Worker interface. The RegExp based solution didn't work well as it required a lot of lookups causing major problems in FireFox. In version 1.0.0 we ditched the RegExp based solution in favor of a pure string parsing solution which chops up the URL into smaller pieces. This module still has a really small footprint as it has been designed to be used on the client side.

route-recognizer - A lightweight JavaScript library that matches paths against registered routes

  •    TypeScript

A lightweight JavaScript library that matches paths against registered routes.

router.js

  •    Javascript

A lightweight JavaScript library is built on top of route-recognizer and rsvp.js to provide an API for handling routes

ex-navigator - Route-centric navigation built on top of React Native's Navigator

  •    Javascript

Deprecation Warning There are a few bugs in ex-navigator that require mutation of the state for the state to pass through the Navigator [Issue 110]. It's highly recommended to use the new ex-navigation instead as it's a powered by React Native's "NavigationExperimental". It's recommend to use react-navigation instead. ExNavigator is a scene navigator that is centered around routes and is built on top of React Native's Navigator. You define ExRoutes, which are plain JavaScript objects with functions to render the scene for the route and the components to display in the nav bar.

sextant - find your route on a long journey over Rails with Sextant

  •    Ruby

Helps you find your routes on a long Journey on Rails, in Rails apps 3.2+. Running rake routes is slow and painful, mostly due to the time to initialize rails. When you're working in development you likely have your rails server booted, you can save this time by rendering the routes in a web request. You can only develop as quick as your tools will allow, so speeding up your tools speeds your development. Sextant allows you to quickly see your routes.

jsUri - Uri parsing and manipulation for node.js and the browser.

  •    Javascript

URI parsing and manipulation for node.js and the browser.