envtojson

0.0.1 • Public • Published

env-to-json

Build Status

Convert current env variables to JSON

npm envtojson

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",
>   ...
> }

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i envtojson

      Weekly Downloads

      1

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • arnaudrinquin