/** * @name node * @namespace * An example of a <a href="node.http.html">web server</a> written with Node which responds with 'Hello World': <pre> var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hello World\n'); }).listen(8124); console.log('Server running at http://127.0.0.1:8124/'); </pre> To run the server, put the code into a file called <code>example.js</code> and execute it with the node program <pre> > node example.js Server running at http://127.0.0.1:8124/ </pre> All of the examples in the documentation can be run similarly. */ goog.provide("node"); /** * @private * @type {*} */ node.core_ = require("node");