Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including cli-encrypt with all npm packages installed. Try it out:

var cliEncrypt = require("cli-encrypt")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cli-encrypt v1.0.5

Simple CLI for encrypting files using node.js Crypto library

cli-encrypt

Simple CLI for encrypting files using node.js Crypto library.

Primary Use Case: Quickly and easily encrypting and decrypting text files.

NPM package

oclif Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g cli-encrypt $ cli-encrypt COMMAND running command... $ cli-encrypt (-v|--version|version) cli-encrypt/1.0.5 linux-x64 node-v8.15.0 $ cli-encrypt --help [COMMAND] USAGE $ cli-encrypt COMMAND ... ``` # Commands * [`cli-encrypt decrypt`](#cli-encrypt-decrypt) * [`cli-encrypt encrypt`](#cli-encrypt-encrypt) * [`cli-encrypt help [COMMAND]`](#cli-encrypt-help-command)

cli-encrypt decrypt

Decrypt a file

USAGE
  $ cli-encrypt decrypt

OPTIONS
  -n, --name=name  name of file
  -p, --pass=pass  encryption password

DESCRIPTION
  ...
  example: cli-encrypt decrypt -n <filename> -p <password>

See code: src/commands/decrypt.js

cli-encrypt encrypt

Encrypt a file

USAGE
  $ cli-encrypt encrypt

OPTIONS
  -n, --name=name  name of file
  -p, --pass=pass  encryption password

DESCRIPTION
  ...
  example: cli-encrypt encrypt -n <filename> -p <password>

See code: src/commands/encrypt.js

cli-encrypt help [COMMAND]

display help for cli-encrypt

USAGE
  $ cli-encrypt help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free