Anyway, to create a static folder to host web files in node, all you need to do is this:
npm install express
#place web documents in public folder
Write a node app:
var express = require('express');
console.log("Static hosting activated");
Run the node app:
Where is this useful? The public folder could be used to host your frontend application and library.