PhantomJS CLI for WaveDrom
JavaScript Shell
Switch branches/tags
Clone or download
Latest commit 62b9dc5 Jul 19, 2017

README.md

Build Status Build status

wavedrom-cli

WaveDrom command-line interface using PhantomJS

Install

npm i wavedrom-cli --save-dev

Use

Options

-i <input wavedrom source filename>
-p file.png <output PNG image file name>
-p file.pdf <output PDF file name>
-s <output SVG image file name>

Example

phantomjs ./node_modules/wavedrom-cli/bin/wavedrom-cli.js -i test/src/step4.js -p step4.png -s step4.svg

Dependencies

Requires PhantomJS v2 to run.

PhantomJS build instructions

License

MIT LICENSE.