cah-cards
v1.0.0
Published
Cards Against Humanity cards as JSON.
Readme
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-cardsUsage
- It exports
{ black, white } blackis a list of{ text, pick?, draw? }, wherepickunspecified its assumed to be1, anddrawas0..whiteis 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
