1.0.5 • Published 5 years ago
ts-cards v1.0.5
��# Cards in Typescript
This is an adaptation of the cards library, converted to typescript.
Install
$ npm install ts-cardsExample
import {Card, StandardDeck} from 'ts-cards'
const deck = new StandardDeck();
deck.suffle();
const hand = deck.draw(5);