Socket
Socket
Sign inDemoInstall

coin-flip

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coin-flip

Flip a coin n times with optional results for heads and tails


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install -g coin-flip

Usage

$ flip
$ flip -n 10
$ flip -n 10 -h "Value for Heads" -t "Value for Tails"

Options

Usage: flip [options]

  --help              Displays this message
  -n, --times Number  Number of times to flip the coin - default: 1
  -h, --heads String  Value for heads - default: heads
  -t, --tails String  Value for tails - default: tails

Version 1.0.0

Keywords

FAQs

Package last updated on 14 Dec 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc