sentence2: Hau da Node.js ingurunean HTTP zerbitzari gisa inplementatutako Kaixo, mundua aplikazio oso bat: var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hola, món!\n'); }).listen(8000); console.log('Servidor disponible a: bloga.
sentence1: تطبيق كامل لبرنامج "أهلا بالعالم" كخادم ويب: var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hello World\n'); }).listen(8000); console.log('Server running at الحاسوب