Export drawio drawings from command-line
Last updated 15 days ago by mattiash .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mattiash/drawio-export 
SYNC missed versions from official npm registry.


Uses drawio-desktop to export all diagrams in a drawio file into one png or svg per page.


npm install -g drawio-export

Usage: drawio-export [options] <input-file>

  -o <path>          Output path (default: "./")
  -f <format>        Output format (default: "png")
  -t                 Transparent output for png
  -t                 Transparent output for png
  --watch            Watch input file for changes
  --width <pixels>   Fits the generated image/pdf into the specified width, preserves aspect ratio.
  --height <pixels>  Fits the generated image/pdf into the specified height, preserves aspect ratio.
  -h, --help         display help for command

Current Tags

  • 1.0.0                                ...           latest (15 days ago)

1 Versions

  • 1.0.0                                ...           15 days ago
Maintainers (1)
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (1)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |