rainu-env-parser

1.1.2 • Public • Published

env-parser

Parse environment variable names and build a single object out of them.

Installation

npm install rainu-env-parser --save

Usage

let defaultValues = {
   port: 1312
}
let config = parse("CFG_", defaultValues)

console.log(config)

Tests

npm test

Licence

This project is distributed under the MIT-License.

Package Sidebar

Install

npm i rainu-env-parser

Weekly Downloads

3

Version

1.1.2

License

none

Unpacked Size

42.7 kB

Total Files

14

Last publish

Collaborators

  • rainu