dotenv-extended-export
v1.0.0
Published
Sourcing .env into your shell.
Downloads
3
Readme
dotenv-extended-export
Source & export .env
into your shell.
Adds export
statements to each line of a [dotenv] .env
file, for defining
any variables therein in your shell.
Install
npm i -g dotenv-extended-export
Use
source <(dotenv-extended-export)
Example
# .env
COLOR=red
$ source <(dotenv-extended-export) echo $COLOR