Inspired by page.js, Helm is a client-side router that leverages the hash portion of URLs to do the routing.
npm install helm
var helm = require('helm');
var router = helm();
helm.on('/user/:username', function (context) {
console.log(context.params.username);
});
helm.go('/user/jack');