npm install static (or something)
// static() returns function that takes (req, res)
var handler = static('/static', './static') <-- serve any static file in the ./static folder
var handler = static('/favicon.ico', './static/favicon.ico') <-- serve ./static/favicon.ico at the /favicon.ico route
var http = require('http');
http.createServer(function (req, res) {
if (handler(req, res)) return
else res.end('hello there')
}).listen(1337, '127.0.0.1')