envtojson-cli
v1.0.0
Published
Convert current environment variables to JSON
Downloads
5
Readme
envtojson-cli
CLI version of envtojson package.
Convert current env variables to JSON
npx envtojson-cli
Usage envtojson [indent]
$ envtojson
> {"PATH":".bin:./node_modules/.bin","NODE_ENV":"dev",...}
$ envtojson 2
> {
> "PATH":".bin:./node_modules/.bin",
> "NODE_ENV":"dev",
> ...
> }
$ envtojson 2 > env.json && cat env.json
> {
> "PATH":".bin:./node_modules/.bin",
> "NODE_ENV":"dev",
> ...
> }