useragent-node

useragent-node ============ app.js ```` var express = require('express'), app = express(); app.set('view engine', 'm') app.engine('m', require('hogan-express')) app.set('views', '.') app.listen(3000); console.log('running on 3000')

useragent-node

var express = require('express'), app = express();
app.set('view engine', 'm')
app.engine('m', require('hogan-express'))
app.set('views', '.')
app.listen(3000);
 
 
app.all('/', function(r, s){
        s.render('test.m', require('./useragent.js')(r, ['iPhone','Android'], {}));
})

Common user agents