Here's a modification to process.env() to return an object instead of an array. It makes it slightly more usable in that var home = process.env()["HOME"] becomes possible without having to string parse the results of the previous version. It's kind of a cheap process.getenv().
Here's a modification to process.env() to return an object instead of an array. It makes it slightly more usable in that
var home = process.env()["HOME"]
becomes possible without having to string parse the results of the previous version. It's kind of a cheap process.getenv().