I have a web server written in Node.js and I would like to launch with a specific folder. I\'m not sure how to access arguments in JavaScript. I\'m running node like this:>
It's probably a good idea to manage your configuration in a centralized manner using something like nconf https://github.com/flatiron/nconf
It helps you work with configuration files, environment variables, command-line arguments.