cah-cards

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cah-cards

Weekly Downloads

1

Version

1.0.0

License

CC-BY-NC-SA-2.0

Unpacked Size

31.3 kB

Total Files

3

Last publish

Collaborators

  • phated
  • jamen