parse-route

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i parse-route

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • lesha-spr