cah-cards
Cards Against Humanity cards as JSON.
Last updated 3 years ago by jamen .
CC-BY-NC-SA-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cah-cards 
SYNC missed versions from official npm registry.

cah-cards

Cards Against Humanity cards as JSON.

Hand-copied from the Cards Against Humanity U.S. PDF kit and follows the original CC BY-NC-SA 2.0 License.

Install

npm i cah-cards

Usage

  • It exports { black, white }
  • black is a list of { text, pick?, draw? }, where pick unspecified its assumed to be 1, and draw as 0..
  • white is a list of { text }.
const { black, white } = require('cah-cards')

for (const blackCard of black) {
    console.log(blackCard.text)
}

TODO

  • [ ] Create a script that copies them
  • [ ] Create JSONs for the other regional releases
  • [ ] Create JSONs for the expansion packs

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

3 Versions

  • 1.0.0                                ...           3 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.0                                ...           7 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |