a tiny package designed to generate a shuffled deck of 52.
Use npm to install t52.
npm i t52
Alternitavely, you can also install t52 with yarn
yarn add t52
Note: if you happen to be curious, the source code is fully annotated.
const t52 = require("t52"); // requires t52 from local instance console.log(t52()); // logs the entire generated deck
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.