node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป



Usable Node Express-Router.

Example usage:

var Router = require('urouter'),

(Router(app, function($) {
    // check session and put user into req if user authorized
    $.bridge(user.bridge, function($) {


        // if user authorized do next
        $.bridge(user.bridgeAuthUser, function($) {

            // all this routes begin with '/user'
            $.bridge('/user', function($) {
function(err) {
    console.log('Error', err);