guld-random-cli

0.3.11 • Public • Published

guld-random-cli

source issues documentation

node package manager travis-ci lgtm david-dm david-dm

Cryptographically secure random number generator using /dev/urandom with fallback to node's crypto and finally to window.crypto || window.mscrypto.

Install

Node
npm i -g guld-random-cli

Usage

CLI
guld-random --help

  Usage: guld-random [options] [command]

  Cryptographically secure random number generator using `/dev/urandom` with fallback to node's `crypto` and finally to `window.crypto || window.mscrypto`.

  Options:

    -V, --version                  output the version number
    -h, --help                     output usage information

  Commands:

    string|str [length]            Generate a random string of the given length (default 256).
    number|num [max]               Generate a random integer between 0 and max. (default 255)
    run [options] <cmd> [args...]  Randomly choose whether to run command with args.

License

MIT Copyright isysd

Package Sidebar

Install

npm i guld-random-cli

Weekly Downloads

4

Version

0.3.11

License

MIT

Unpacked Size

6.93 kB

Total Files

6

Last publish

Collaborators

  • isysd