A Node library for working with environment variables.
Install it using node package manager.
npm install --save thenv
The simplest and the cleanest way.
var thenv = require('thenv')()
You can also specify the file name and the encoding type.
var thenv = require('thenv')('path/to/file', 'encoding')
It returns an object with every valid property that was applied to the environment.
The contribution guide is not available for now but I am accepting any contribution if under the standard style.
The Thenv library is open-sourced software licensed under the MIT license.