Have you ever been asked to share the environment files of a large monorepo with more than a dozen apps?
In that case you probably created an exact structure file by file... local, development, staging, qa, preproduction, production, etc, per app, per teammate, because you probably deleted that zip or it is not updated.
If you still reading up to this point you know what it does mean.
Envpack lets you zip and unzip all your .env files keeping original paths.
Globally,
$ npm i -g envpack
As project dependency
$ npm i -D envpack
export | -e, --export <filename> |
import | -i, --import <filename> |
help | -h, --help |
Would to like to star or contribute with this?