pasoor
v1.1.0
Published
A JavaScript card game module for handling deck stuff
Downloads
4
Readme
Pasoor
Pasoor provides a simple API for game cards. The code is based on node-cards.
Installation
npm install pasoor
Usage
You can create an empty deck:
import { Deck } from 'pasoor';
const deck = new Deck();
Or with a preset:
import { Deck, presets } from 'pasoor';
const deck = new Deck(presets.shelem);