WaveDrom command-line interface for converting digital timing diagrams defined in JSON5/JS object notation into SVG or PNG images. Current stable version is 3.2.0, requiring Node.js >=12 (recommended v14+). It supports rendering signal groupings and outputs SVG natively; PNG export uses the native SVG renderer. Unmaintained for some time (last significant release v0.3.x), with breaking changes from prior versions that relied on PhantomJS. Key differentiator: enables programmatic and CI-based generation of timing diagrams without a browser.
npm install wavedrom-cliVerified import paths — ran on the pinned version, not inferred.
Create a timing diagram from a JSON5 source file and export to SVG using wavedrom-cli.
Upgrade Node.js to v14 or later. Use nvm or similar.
Uninstall PhantomJS and use the npm package directly.
Pipe SVG output to Inkscape: `wavedrom-cli -i input.json5 | inkscape -p --export-filename=output.png`
Install globally with `npm i -g wavedrom-cli` or use `npx wavedrom-cli`.
Use valid JSON5 (e.g., keys unquoted allowed, but no trailing commas).
No dependency data recorded yet.