X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=node%2Finstall.bash;h=0d1f24df08866415f1708b3b61eb02bc01871232;hb=99bbaa3c5907950265483e926fed5d55401fdf44;hp=e4a2ef75c5512189c8b9168b52b1dcdc9b133c24;hpb=aca704f2d3b6f2ad94aa9e440e7dc9050821be5d;p=webi-installers%2F.git
diff --git a/node/install.bash b/node/install.bash
index e4a2ef7..0d1f24d 100644
--- a/node/install.bash
+++ b/node/install.bash
@@ -6,25 +6,52 @@
# description: |
# Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine
# examples: |
+#
+# ### Hello World
+#
# ```bash
# node -e 'console.log("Hello, World!")'
# > Hello, World!
# ```
+#
#
+#
+# ### A Simple Web Server
+#
+# `server.js`:
+#
+# ```bash
+# var http = require('http');
+# var app = function (req, res) {
+# res.end('Hello, World!');
+# };
+# http.createServer(app).listen(8080, function () {
+# console.info('Listening on', this.address());
+# });
+# ```
+#
#
#
-#
Run a webserver | -#
-# -# app.js:
+# npm install --save express
+# ```
+#
# -#
+# ```
+#
# -# server.js:
-# -#
+# console.info('Listening on', this.address());
+# });
+# ```
+#
# -#
-# |
-#