# file-encryptor-cli

> Simple cli tool for encrypt and decrypt files

Latest version **1.0.7** (published 2017-10-16) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install file-encryptor-cli
pnpm add file-encryptor-cli
yarn add file-encryptor-cli
bun add file-encryptor-cli
```

Provides the command `file-encryptor`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2017-10-16 |
| First published | 2017-10-14 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vitaliy Khudonogov |
| Maintainers | quadgod |
| Keywords | file, encrypt, decrypt, cli, password |

## Links

- npm: https://www.npmjs.com/package/file-encryptor-cli
- Repository: https://github.com/quadgod/file-encryptor-cli
- Homepage: https://github.com/quadgod/file-encryptor-cli#readme
- Issues: https://github.com/quadgod/file-encryptor-cli/issues
- npm.io page: https://npm.io/package/file-encryptor-cli

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [commander](https://npm.io/package/commander.md) ^2.11.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.7 (latest) — 2017-10-16
- 1.0.6 — 2017-10-16
- 1.0.5 — 2017-10-16
- 1.0.4 — 2017-10-16
- 1.0.3 — 2017-10-15
- 1.0.2 — 2017-10-15
- 1.0.1 — 2017-10-15
- 1.0.0 — 2017-10-14

## README

# File encryptor cli tool
a simple cli tool for encrypt and decrypt files
### Installation
```bash
npm i -g file-encryptor-cli
```
### Commands

```bash
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)

```bash
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)

---
_Source: https://npm.io/package/file-encryptor-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
