Package Exports
- envoodoo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (envoodoo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
envoodoo
Environment variable loader
The 'env voodoo' under the hood is node streams! (FTW)
Description
This module loads environment files into process.env for you. By default it looks for a .env file in your project root but you can pass in a path to any other files you might wish to load environment variables from.
Usage
Loading a .env file in the root of the project
require('envoodoo')()Loading a file somewhere else
var envoodoo = require('envoodoo')
envoodoo('path/to/.env')Loading multiple files
var envoodoo = require('envoodoo')
envoodoo() //loads default .env
envoodoo('path/to/file1')
envoodoo('path/to/file2')

