1 2 3 4 5 6
#!/usr/bin/env node require('unit-http').createServer(function (req, res) { res.writeHead(200, 'blah', {'Content-Type': 'text/plain'}); res.end(); }).listen(7080);