🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

pick-random-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pick-random-cli

Pick random items from a list

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
341
0.59%
Maintainers
1
Weekly downloads
 
Created
Source

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
  • pick-random - API for this module

Keywords

cli-app

FAQs

Package last updated on 10 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts