Skip to content

Instantly share code, notes, and snippets.

@notbend
Created August 6, 2013 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notbend/6169102 to your computer and use it in GitHub Desktop.
Save notbend/6169102 to your computer and use it in GitHub Desktop.
node hello world
var http = require('http');
var s = http.createServer(function(req, res) {
res.writeHead(200, { 'content-type': 'text/plain'})
res.end("hello world");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment