/thenv

A Node library for working with environment variables.

Primary LanguageJavaScriptMIT LicenseMIT

Thenv

Build Status Standard - JavaScript Style Guide

A Node library for working with environment variables.



Installing

Install it using node package manager.

npm install --save thenv

Getting Started

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.

Contributing

The contribution guide is not available for now but I am accepting any contribution if under the standard style.

License

The Thenv library is open-sourced software licensed under the MIT license.