card-utils
v2.0.0
Published
Utilies for playing cards.
Downloads
4
Readme
card-utils
Utilies for playing cards.
Installation
npm install card-utils
Usage
var cardUtils = require('card-utils');
var deck = cardUtils.generateDeck();
var shuffled = cardUtils.shuffle(deck);
var sorted = cardUtils.sort(shuffled);
Tests
Run npm test
in package root.