router.js

  •        65

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

https://github.com/tildeio/router.js

Tags
Implementation
License
Platform

   




Related Projects

route-js - simple js router/dispatcher library


simple js router/dispatcher library

router-srv - A GSLB router for microservices


Router server provides global routing capabilities. It is not a proxy. It has the go-micro.Selector semantics and offloads actual routing to smart clients. Its job is to maintain routing information about the environment and route appropriately.The router also provides weighted and label based routing. The client side library is go-os/router.

fastroute - Simple, idiomatic and fast 161 loc http router for golang


Insanely simple, idiomatic and fast - 161 loc http router for golang. Uses standard http.Handler and has no limitations to path matching compared to routers derived from Trie (radix) tree based solutions.fastroute.Router interface extends http.Handler with one extra method - Route in order to route http.Request to http.Handler allowing to chain routes until one is matched.

lars - :rotating_light: Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks


Have you ever been painted into a corner by a framework, ya me too! and I've noticed that allot of routers out there, IMHO, are adding so much functionality that they are turning into Web Frameworks, (which is fine, frameworks are important) however, not at the expense of flexibility and configurability. So with no further ado, introducing LARS an HTTP router that can be your launching pad in creating a framework for your needs. How? Context is an interface see example here, where you can add as little or much as you want or need and most importantly...under your control.Note: Since this router has only explicit matches, you can not register static routes and parameters for the same path segment. For example you can not register the patterns /user/new and /user/:user for the same request method at the same time. The routing of different request methods is independent from each other. I was initially against this, and this router allowed it in a previous version, however it nearly cost me in a big app where the dynamic param value say :type actually could have matched another static route and that's just too dangerous, so it is no longer allowed.



httptreemux - High-speed, flexible tree-based HTTP router for Go.


High-speed, flexible, tree-based HTTP router for Go.This is inspired by Julien Schmidt's httprouter, in that it uses a patricia tree, but the implementation is rather different. Specifically, the routing rules are relaxed so that a single path segment may be a wildcard in one route and a static token in another. This gives a nice combination of high performance with a lot of convenience in designing the routing patterns. In benchmarks, httptreemux is close to, but slightly slower than, httprouter.

route-registrar-boshrelease - Continuously broadcast a route using NATS to the Cloud Foundry router.


Continuously broadcast a route using NATS to the Cloud Foundry router.

skipper - An HTTP router and reverse proxy for service composition


Skipper is an HTTP router and reverse proxy for service composition. It's designed to handle >100k HTTP route definitions with detailed lookup conditions, and flexible augmentation of the request flow with filters. It can be used out of the box or extended with custom lookup, filter logic and configuration sources.Skipper provides a default executable command with a few built-in filters. However, its primary use case is to be extended with custom filters, predicates or data sources. Go here for additional documentation.

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


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.

Router - The Hoa\Router library.


This library allows to find an appropriated route and extracts data from arequest. Conversely, given a route and data, this library is able to build arequest.For now, we have two routers: HTTP (routes understand URI and subdomains) andCLI (routes understand a full command-line).

404-pagelet - Default 404 Pagelet used if the router cannot dispatch to any route


Default 404 Pagelet used if the router cannot dispatch to any route

django-r66 - django - route 66 application. WebUI for management of your Debian based Router


django - route 66 application. WebUI for management of your Debian based Router

external_routes - A Rails plugin that allows loading external route files from the router.


A Rails plugin that allows loading external route files from the router.

moute - Advanced Route for ogel/router library.


Advanced Route for ogel/router library.

coute - Route that points to Controller. To be used with ogel/router library.


Route that points to Controller. To be used with ogel/router library.

Bxog - Bxog is a simple and fast HTTP router for Go (HTTP request multiplexer).


Bxog is a simple and fast HTTP router for Go (HTTP request multiplexer).Arguments in the rules designated route colon. Example route: /abc/:param , where abc is a static section and :param - the dynamic section(argument).

router - a Flask like JS router


a Flask like JS router

FastRoute - Fast request router for PHP


The routes are defined by calling the `FastRoute\simpleDispatcher` function, which acceptsa callable taking a `FastRoute\RouteCollector` instance. The routes are added by calling`addRoute()` on the collector instance.This method accepts the HTTP method the route must match, the route pattern and an associatedhandler. The handler does not necessarily have to be a callback (it could also be a controllerclass name or any other kind of data you wish to associate with the route).By default a route pa