Route matching and testing, nothing more than that. As simple as it could be.
Want to see pretty graphs? Log in now!
npm install routable
|17||downloads in the last week|
|127||downloads in the last month|
|Last Published By|
|Version||0.0.2 last updated 10 months ago|
|Keywords||route, router, routing, routable, routed|
|Dependents||bigpipe, express-password-reset, express-signin, express-signup|
Routable is a lightweight route parser for Node.js. It's primary focus is to parse routes, and that's it. It's modeled against the RegExp instance so it's usage feels really natural to developers.
Installation is done through
npm instal --save routable
Include module in your application:
var Route = require('routable');
Create a new
Route instance with an URL we need to match against:
var route = new Route('/foo');
To learn more about the API, please visit the API documentation: