Displaying 1 to 20 from 69 results

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

  •    Javascript

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.

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.

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.




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.

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.

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 ...

LowercaseRoutesMVC - Map ASP.NET MVC routes to lowercase URLs

  •    

Easily generate lowercase outgoing URLs in ASP.NET MVC. Does not affect the casing of the querystring, if one exists. Includes support for MVC Areas as well.


express-annotations - Module to augment Express routes with metadata.

  •    Javascript

Augment your Express routes with metadata, so they can be serialized and shared between different environments, such as the browser and server.When creating routes for an application, there's often extra information that might be helpful to be attached to them when rendering them out in a template.

express-map - Assembles an Express app's route configuration for sharing with the client side via JavaScript

  •    Javascript

While building a website, it's common to reference URL paths in multiple places, whether it be inside a template, inside some redirection code, or even inside a client-side router.If you ever have to change a URL though, it can be difficult to go through all of your code, and manually change all of the URLs that you hard-coded into your templates, server-side code, and client-side code.

route-prefix - add a prefix in front of a router

  •    Javascript

Return a new router prouter that mounts the routes router at the prefix string pre.The given router just needs to have a router.match(url) function that returns a falsy value when the route doesn't match. The routes package happens to supply that interface but you can use whatever module you want and the enumerable properties are copied from router to create the prouter copy.

next-route - Simplified custom routing for next.js.

  •    Javascript

Simplified custom routing for next.js.This module is high-level, but will cover your 99% use case.

slim-oauth2 - Routes and Middleware for Using OAuth2 Server within a Slim Framework API

  •    

Chadicus\Slim\OAuth2 requires PHP 5.6 (or later). Examples can be found in the examples folder.

rails-routes - Enable config/routes/*.rb on your Rails application.

  •    Ruby

Too many routes on your Rails app? Me too! This gem allows you to separate your routes on different files. Just create them at config/routes/*.rb and you're good to go. The routes will be reloaded in development; if you create or remove files, you have to restart your server.

simple-api - A Node.js API Scaffolding Module

  •    Javascript

Simple-API is an easy-to-use API scaffolding module for Node.js. It creates a clean M V C structure for APIs and handles all the URL parsing and routing. A very basic API server is incredibly easy to start.

react-routify - Routing for React

  •    Javascript

The purpose of React Routify is to provide routing to React applications without scattering domain specific language throughout your codebase. Wherever possible, React Routify uses existing constructs provded by React.

koa-websocket - Light wrapper around Koa providing a websocket middleware handler that is koa-route compatible

  •    Javascript

Koa v2 is now the default. For Koa v1 support install with koa-websocket@2 and see the legacy branch. With custom websocket options.