simple.js
This file
Path
benchmarks/node/simple.js
8 lines · 232 bytes · JavaScript
Last changed by
Merge branch 'master' of http://github.com/visionmedia/expressGuillermo Rauchbefore adoption8ef6a0b
History of this fileTake it
Merge branch 'master' of http://github.com/visionmedia/expressGuillermo Rauchbefore adoption8ef6a0b
lines 1–8why, one step back12var fs = require('fs'),3 http = require('http')45http.createServer(function(req, res) {6 res.writeHead(200, { 'Content-Type': 'text/plain', 'Content-Length': 11 })7 res.end('Hello World', 'ascii')8}).listen(3000, 'localhost')