Skip to content

Frapwings/fendjs-route

 
 

Repository files navigation

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

About

Fundamental of router for Fend.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.8%
  • CSS 3.2%