README
Easy url handling and templating selection, here is an example index.js
:
var express = require('express');
var router = express.Router();
var view = require('snode')(router);
view.render([
['/', 'index', { title: "Home" }],
['/dashboard', 'dashboard', { title: "Dashboard" }]
]);
module.exports = router;