getting javascript file expressjs code example
Example 1: express public
app.use(express.static(__dirname + '/public'));
Example 2: app.use public
express.static(root, [options])
app.use(express.static(__dirname + '/public'));
express.static(root, [options])