Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukecarrier/drawio-export-puppeteer
Draw.io exports via Puppeteer
https://github.com/lukecarrier/drawio-export-puppeteer
Last synced: about 1 month ago
JSON representation
Draw.io exports via Puppeteer
- Host: GitHub
- URL: https://github.com/lukecarrier/drawio-export-puppeteer
- Owner: LukeCarrier
- License: mit
- Created: 2020-06-05T17:59:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T02:18:45.000Z (5 months ago)
- Last Synced: 2024-10-13T06:05:06.553Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 838 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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`](https://asdf-vm.com/) with the [`nodejs`](https://github.com/asdf-vm/asdf-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:
```console
git submodule update --init
```## Testing
Tests are written in [Jest](https://jestjs.io/). To run them:
```console
npm test
```Add the `--watch` parameter to re-run the tests when changes are detected:
```console
npm test --watch
```