A presentation of Julian Gimbel and Robert Pinsler
setTimeout(function(){ console.log("World") }, 1000); console.log('Hello');
var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(1337, '127.0.0.1'); console.log('Server running at http://127.0.0.1:1337/');
Put this into helloworld.js and run:
> node helloworld.js
> npm install
> npm adduser, npm publish
Total packages: 73K+
Downloads last week: 67 mio.
npm install -g node-inspector
node-debug test.js