I have a webserver written in Node.js and I might want to dispatch with a particular folder. I don't know how to get to arguments in JavaScript. I'm running node like this:
$ node server.js folder
here
server.js
is my server code.
Node.js
help says this is conceivable:
$ node -h
Usage: node [options] script.js [arguments]
How might I get to those arguments in JavaScript? Some way or another I couldn't discover this data on the web.