ccg-card-generator

2.3.4 • Public • Published

ccg-card-generator

npm version GitHub version

Quickly generate pages of trading cards. Useful for rapid prototyping.


Usage

For a working example, take a look at ccg-card-generator-sample-project

  const { ccg-card-generator, } = require("ccg-card-generator");
  
  const target = "./rulebook.md";
  
  const destination = "./rulebook.pdf";

  const options = {
    "debug": true,
    "style": "./node_modules/ccg-card-generator/lib/styles/prototype.css",
    "printOptions": {
      displayHeaderFooter: false,
    },
  };

  ccg-card-generator( target, destination, options);

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome!

Package Sidebar

Install

npm i ccg-card-generator

Weekly Downloads

2

Version

2.3.4

License

ISC

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • mcclowes