arcana
v0.0.2
Published
a tarot deck generator
Readme
arcana
a tarot deck generator
Scripts
test – run the tests
npm run testcoverage – generate and view code coverage as HTML
npm run coveragelint – lint the codebase
npm run lintreadme – generate the README
npm run readmedeck
module.exports ⏏
Class representing a deck
Kind: Exported class
new module.exports([deck])
Create a deck
| Param | Type | Description | | --- | --- | --- | | [deck] | Object | the deck description | | deck.majorArcana | Object | the major arcana description | | deck.majorArcana.symbols | Array.<string> | the major arcana symbols | | deck.minorArcana | Object | the minor arcana description | | deck.majorArcana.suits | Array.<string> | the minor arcana suits | | deck.majorArcana.orders | Array.<string> | the minor arcana orders |
License
MIT @ Flip
