Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.13 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.13 KB

fendjs-route

Build Status Coverage Status NPM version Dependency Status

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

MIT license.

See the LICENSE.

Bitdeli Badge