croupier
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

Croupier

A libary written in typescript for representing a pack of cards

Usage

import { Deck } from 'croupier';

const deck = new Deck();
console.log(deck.Count);

const handOne = deck.take(2);

console.log(deck.Count);
console.log(handOne);

/croupier/

    Package Sidebar

    Install

    npm i croupier

    Weekly Downloads

    0

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    13.5 kB

    Total Files

    21

    Last publish

    Collaborators

    • emobe