All Projects → wavedrom → cli

wavedrom / cli

Licence: MIT license
CLI for WaveDrom

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

NPM version Linux MacOS Windows

wavedrom-cli

WaveDrom command-line interface

Usage

Install

Requires nodejs v12+

npm i wavedrom-cli -g

Export SVG

wavedrom-cli -i mywave.json5 -s mywave.svg

Export PNG

wavedrom-cli -i mywave.json5 -p mywave.png

Export with Inkscape

Inkscape is awesome SVG editor that can be used to convert SVG to many other formats: PDF, PS, EPS, EMF, WMF, PNG. etc. It can be chained with wavedrom-cli to output those formats. Here is an example:

wavedrom-cli -i mywave.json5 | inkscape --file - --export-pdf mywave.pdf

Options

  --input, -i  path to the source                                     [required]
  --svg, -s    path to the generated SVG
  --png, -p    path to the generated PNG
  --version    Show version number                                     [boolean]
  --help       Show help                                               [boolean]

License

MIT LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].