parse-route
v0.0.1
Published
Helper to parse route with params
Downloads
22
Readme
parse-route
Usage
npm install parse-route
var parseRoute = require('parse-route');
parseRoute('/path/with/:some/:param/and/:another/param',
{some: 'really', param: 'awesome', another: 'splitted'}); // /path/with/really/awesome/and/splitted/param