pick-random-cli

2.0.0 • Public • Published

pick-random-cli

Pick random items from a list

Useful for making decisions, picking a winner, or anything else randomness can help you with.

Install

$ npm install --global pick-random-cli

Usage

$ pick-random --help

  Usage
    $ pick-random <item> … [--count=<number>]
    $ cat newline-separated-picks.txt | pick-random

  Examples
    $ pick-random unicorn rainbow cake pony --count=2
    pony
    rainbow

    $ pick-random yes no
    $ pick-random $(seq 54) --count=6

Related

Package Sidebar

Install

npm i pick-random-cli

Weekly Downloads

339

Version

2.0.0

License

MIT

Unpacked Size

3.44 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus