Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 743 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 743 Bytes

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