Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

headtails

gabru-md9MIT1.0.0

CLI Coinflip using Node.JS

coinflip, flip, coin, head, tails, heads, headtails

readme

CoinFlip

npm version awesome

CoinFlip CLI using Node.JS Cannot decide heads or tails? Well here is the solution.

CoinFlip is a CLI built in Node.JS that helps user decide on two choices.

Downloading

$ npm install headtails

Using

$ coinflip

Output like this will be registered on screen:

  _   _                _          __  _____     _ _     
 | | | | ___  __ _  __| |___     / / |_   _|_ _(_) |___ 
 | |_| |/ _ \/ _` |/ _` / __|   / /    | |/ _` | | / __|
 |  _  |  __/ (_| | (_| \__ \  / /     | | (_| | | \__ \
 |_| |_|\___|\__,_|\__,_|___/ /_/      |_|\__,_|_|_|___/

Flipping a coin made easy!

Coin Toss resulted in:
Tails

Flip

CoinFlip

License

This Package is licensed under MIT License.