sevl
v0.2.0
Published
small .env loader
Readme
small .env loader
Installation
$ npm i sevlUsage
import sevl from 'sevl';
sevl() //asyncronously imports .env to process.envsevl(config: Config)
Config
| | default | description |
|:-------------|:--------------|:---------------------------------|
| cwd | process.cwd() | current work dir |
| bufferSize | 32768 | buffer size of stream |
Functionality
sevl tries to load files in the following order:
.env.${NODE_ENV}.env.env.local
Already present environment variables and these loaded sub-sequentially will not be overwritten.
Licence
MIT License, see LICENSE
