conenv
v0.1.4
Published
[](https://img.shields.io/npm/v/conenv.svg) [](https://img.shields.io/npm/l/leibniz.svg?maxAge=2592000)
Readme
Get env variables from config file
Attention! Please not use this module untile it is stable
Install
yarn
yarn add conenv -Snpm
npm install conenv -SExample
const conenv = require('conenv')
conenv({
PORT: 3306,
PASS: 'ENV:DB_PASS',
NAME: 'ENV:DB_NAME'
}))
// PASS And NAME will be replaced with the value of process.env.DB_PASS and process.env.DB_NAME
