@botpoker/cards

1.0.0 • Public • Published

@botpoker/cards

Basic french deck of poker cards.

The module exports an array of objects with rank, and type card's properties.

Note that the array was frozen using Object.freeze method. It can be used in the following way:

const cards = require("@botpoker/cards");
const gameCards = Array.from(cards);
// gameCards is not frozen

/@botpoker/cards/

    Package Sidebar

    Install

    npm i @botpoker/cards

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.01 kB

    Total Files

    6

    Last publish

    Collaborators

    • brunoscopelliti