$ cnpm install 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.
npm i cah-cards
{ 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)
}
Copyright 2014 - 2016 © taobao.org |