1.1.0 • Published 2 years ago

@mattiash/drawio-export v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

drawio-export

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

Usage

npm install -g drawio-export

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

Options:
  -o <path>          Output path (default: "./")
  -f <format>        Output format (default: "png")
  -t                 Transparent output for png
  --scale <scale>    Scale 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