3.2.0 • Published 2 months ago

wavedrom-cli v3.2.0

Weekly downloads
305
License
MIT
Repository
github
Last release
2 months ago

NPM version Linux MacOS Windows

wavedrom-cli

WaveDrom command-line interface

Usage

Install

Requires nodejs v14+

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 -p --export-filename=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.

3.2.0

2 months ago

3.1.1

1 year ago

2.8.1

3 years ago

2.8.0

3 years ago

2.6.8

3 years ago

2.6.6

4 years ago

2.6.3

4 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

0.5.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.1.0

8 years ago