card-creatr
v0.2.5
Published
Tools for creating and rendering SVG files, with a focus on decks of cards for custom card games
Downloads
20
Readme
card-creatr
card-creatr is a command-line utility that renders *.ccsb files to SVG or PNG output. A graphical user interface for this tool is Card Creatr Studio.
Command Line Usage
The npm package provides the binary card-creatr:
$ npm install -g card-creatr
$ card-creatr --help
You should provide an input and an output file. The output file should be either SVG or PNG.
$ card-creatr -i example.ccsb -o example.png
You can also provide the path to the config.hjson file in an unpacked *.ccsb file (expanded as a zip archive).
Library Usage
Node.js library functions are exposed for users who wish to invoke card-creatr programmatically. These internals are not guaranteed to be stable, at least not until card-creatr reaches a major release milestone. For examples of usage, see the source code of Card Creatr Studio.