router.js

  •        68

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

universal-router - A simple middleware-style router for isomorphic JavaScript web apps


A simple middleware-style router that can be used in both client-side (e.g. React, Vue.js) and server-side applications (e.g. Node.js/Express, Koa).Play with an example on JSFiddle, CodePen, JS Bin in your browser or try RunKit node.js playground.

ui-router-tabs - Idiot-proof tab panes with route support using Angular.js + Bootstrap 3 + UI Router


Leverages UI Bootstrap and UI Router to give you full-strength route-driven tabs in Angular.js.Add ui.router.tabs as a new module dependency in your angular app.

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.

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.

After.js - Next.js-like framework for server-rendered React apps built with React Router 4


Next.js is awesome. However, its routing system isn't for me. IMHO React Router 4 is a better foundation upon which such a framework should be built. Routes are just components and don't / should not have anything to do with folder structure. Static route configs are fine.

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

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


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.

Gin - HTTP web framework written in Go (Golang)


Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love You can add global, per-group, and per-route middlewares, thousands of nested groups, nice JSON validation and rendering. And the performance will be still great. Gin uses httprouter internally, the fastest HTTP router for Golang. Httprouter was created by Julien Schmidt and it’s based in a Radix Tree algorithm.

ToroPHP - Toro is a PHP router for developing RESTful web applications and APIs.


Toro is a PHP router for developing RESTful web applications and APIs. It is designed for minimalists who want to get work done. An application's route table is expressed as an associative array (route_pattern => handler). This is closely modeled after Tornado (Python). Routes are not expressed as anonymous functions to prevent unnecessary code duplication for RESTful dispatching.

redux-little-router - A tiny router for Redux that lets the URL do the talking.


redux-little-router is a tiny router for Redux applications that lets the URL do the talking.While the core router does not depend on any view library, it provides flexible React bindings and components.

redux-router - Redux bindings for React Router – keep your router state inside your Redux store


Redux bindings for React Router – keep your router state inside your Redux store

redux-router - Redux bindings for React Router – keep your router state inside your Redux store


Redux bindings for React Router – keep your router state inside your Redux store

react-router-redux - Ruthlessly simple bindings to keep react-router and redux in sync


You're a smart person. You use Redux to manage your application state. You use React Router to do routing. All is good.But the two libraries don't coordinate. You want to do time travel with your application state, but React Router doesn't navigate between pages when you replay actions. It controls an important part of application state: the URL.

httprouter - A high performance HTTP request router that scales well


HttpRouter is a lightweight high performance HTTP request router (also called multiplexer or just mux for short) for Go.In contrast to the default mux of Go's net/http package, this router supports variables in the routing pattern and matches against the request method. It also scales better.

react-mini-router - A minimal URL router for React.js


A minimal URL router for React.js. The router provides a small React.js mixin that is easy to integrate into a root level component. It makes little to no demands on how you structure your application.