Package Exports
- file-encryptor-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (file-encryptor-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
File encryptor cli tool
a simple cli tool for encrypt and decrypt files
Installation
npm i -g file-encryptor-cli
Commands
file-encryptor encrypt <file> <password>
example:
file-encryptor encrypt ./config.js password -> output ./config.js.enc
params:
- file - path to file which will be encrypted (required)
- password - any secret password ;) (required)
file-encryptor decrypt [options] <file> <password> [dest]
example:
file-encryptor decrypt -f ./config.js.enc password -> output ./config.js
file-encryptor decrypt ./config.js.enc password ./config/decrypted.config.js -> output ./config/decrypted.config.js
options:
- -f --force - force replace destination file (optional)
params:
- file - path to file which will be decrypted (required)
- password - any secret password ;) (required)
- dest - destination file (optional)
note: use node version >= 8 (i have't test it at older versions) note: v1.0.7 - please update to this stable version (all bugs fixed)