cara-o-cruz
v1.0.5
Published
Like flip a coin, but in Spanish
Downloads
14
Readme
# Cara o cruz
Flip a coin CLI application, which will flip virtually a coin and will tell you the result in Spanish. cara means heads and cruz tails.
## Installation
npm install -g cara-o-cruz
## Usage
cara-o-cruz
API
This module exports a function which will return through a callback flip coin result.
const assert = require('assert');
const caraCruz = require('cara-o-cruz');
caraCruz((err, coinRes) => {
assert.ifError(err);
console.log(coinRes); // It will display 'cara' or 'cruz' string
});