fendjs-route
Fundamental of router for Fend.js
Installation
npm
$ npm install fendjs-route
component
$ component install Frapwings/fendjs-route
API
Route(path, [callbacks], [options])
Initialize a Route
with a path
string or regexp, callbacks
and options
Route#match(path)
Match against the given path
. Returns false
or an array with params matched.
Testing
$ npm install
$ make test
License
See the LICENSE
.