66

Simple client-side router.

npm install 66
1 downloads in the last week
14 downloads in the last month

66

Simple client-side router.

Install

Install 66 via NPM or Bower.

Usage

var Router = require('66')
var rt = new Router
rt.get('/', function(){
  // render the index page
})

rt.get('/post/:id', function(params){
  // render post page
  // you can get at the id via `params.id`
})
npm loves you