tiny-env
v0.0.3
Published
Load .env file to js object
Downloads
2
Readme
Tiny-env
From dotenv
, just a simple genie for loading .env
files
Install
npm i --save tiny-env
Use
Will check if there is an .env
file (or .env.dev
file) in your project root path
const TinyEnv = require('tiny-env')
const { data: config } = TinyEnv
module.exports = config