fetch-node

Gets view templates off the server if they don't exist

npm install fetch-node
4 downloads in the last month

fetch-node

Gets view templates off the server if they don't exist

var     express = require('express'), app = express();

app.engine('m', require('hogan-express'))
app.set('view engine', 'm')
app.set('views', '.')

require('./fetch-node.js')({}, app);

app.listen(3000);
console.log('listening on 3000');

app.get('/', function(r,s){
    s.render('test.m', {name: 'chris', greeting: 'hi'})
})
npm loves you