3 # homepage: https://nodejs.org
5 # Node.jsĀ® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
7 # Node is great for simple, snappy HTTP(S) servers, and for stitching APIs together with minimal fuss or muss.
13 # node -e 'console.log("Hello, World!")'
17 # ### A Simple Web Server
22 # var http = require('http');
23 # var app = function (req, res) {
24 # res.end('Hello, World!');
26 # http.createServer(app).listen(8080, function () {
27 # console.info('Listening on', this.address());
41 # npm install --save express
49 # var express = require('express');
50 # var app = express();
52 # app.use('/', function (req, res, next) {
53 # res.end("Hello, World!");
56 # module.exports = app;</code></pre>
64 # var http = require('http');
65 # var app = require('./app.js');
67 # http.createServer(app).listen(8080, function () {
68 # console.info('Listening on', this.address());
77 This is a comment... because... poor choices I made.
79 Don't worry, this will be yaml or markdown in the... sometime... future