drawio-headless
v0.1.0
Published
Headless authoring and rendering of drawio diagrams. CLI wrapper around the Rust binary.
Maintainers
Readme
drawio-headless
CLI wrapper that installs the pre-built drawio-headless Rust
binary for your platform.
npm install -g drawio-headless
drawio-headless --versionThe postinstall step downloads the matching binary from the
GitHub Releases page for this package version into the
package's vendor/ directory; the drawio-headless bin entry is a
small Node shim that spawns it with the caller's argv.
Supported platforms
| OS | Architecture | | ------- | ---------------- | | Linux | x86_64, aarch64 | | macOS | x86_64, arm64 | | Windows | x86_64 |
If your platform isn't in this list, npm install will fail clearly and
point you at cargo install as the fallback.
Usage
See the main project README for render, author, compose,
and list-shapes examples.
License
Apache-2.0. See LICENSE.
