Skip to content

Instant Node.js coin toss. Heads or tails? Just flip a coin

Notifications You must be signed in to change notification settings

roccomuso/flip-a-coin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip a coin

Instant Node.js coin toss. Heads or tails? Just flip a coin.

Global install

$ npm install -g flipacoin

Usage

$ flip
> head

Embedded

var flip = require('flipacoin')

flip()
// 'head' or 'tail'

flip('num')
// 1 or 0

flip('bool')
// true or false

About

Instant Node.js coin toss. Heads or tails? Just flip a coin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published