install nodejs and npm windows code example
Example 1: windows install node and npm
npm init to start a new project
nodejs.org/download to download node.js
Example 2: nodejs install
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Hello World!');
}).listen(8080);