Socket
Book a DemoInstallSign in
Socket

cah-cards

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cah-cards

Cards Against Humanity cards as JSON.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 27 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts