installing node js on windows code example
Example 1: install noedjs
brew install node
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);
Example 3: npm
official => https://www.npmjs.com/