routable

Route matching and testing, nothing more than that. As simple as it could be.

npm install routable
17 downloads in the last week
127 downloads in the last month

Routable

Build Status

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

Installation is done through npm:

npm instal --save routable

Getting Started

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:

License

MIT

npm loves you