Node.js CheatSheet

Download Node.js : http://nodejs.org/download/API & More: http://nodejs.org/api/all.html 1. Synopsis // An example of a web server written with Node which responds with 'Hello World'. // To run the server, put the code into a file called example.js and execute it with the node program. http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hello World\n'); }).listen(8124); console.log('Server... Continue Reading →

Powered by WordPress.com.

Up ↑

Create your website at WordPress.com
Get started