@fabiospampinato/secret
v3.0.2
Published
The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.
Downloads
3
Maintainers
Readme
Secret
The simplest command to encrypt/decrypt a file, useful for committing encrypted ".env" files to version control, among other things.
Secret automatically detects if you want to encrypt or decrypt a file: if the file ends with the ".secret" extension then it will try to decrypt it, otherwise it will try to encrypt it.
Install
npm install -g @fabiospampinato/secret
Usage
Encrypt a file:
secret myFile.txt
Decrypt a file:
secret myFile.txt.secret
License
MIT © Fabio Spampinato