0.2.0 • Published 2 years ago

drawio-export-puppeteer v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Draw.io exports via Puppeteer

Node module for exporting Draw.io diagrams to a range of formats using Puppeteer, designed as a drop-in replacement for the Draw.io desktop CLI.


Hacking

We use asdf-vm with the nodejs plugin to manage our tool versions. Complete the setup for asdf-vm first, or make sure you have compatible equivalents installed.

After cloning, make sure you get the vendored dependencies:

git submodule update --init

Testing

Tests are written in Jest. To run them:

npm test

Add the --watch parameter to re-run the tests when changes are detected:

npm test --watch