Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

rainu/env-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published