staruml-watermark-remover
v1.0.1
Published
StarUML watermark remover
Downloads
16
Maintainers
Readme
staruml-watermark-remover
Remove StarUML watermark from your
svg
diagrams.
Installation
yarn add staruml-watermark-remover
Otherwise install it globally if you want to use it as a CLI tool.
Usage
import fs from 'fs';
import starumlWatermarkRemover from 'staruml-watermark-remover';
const svg = fs.readFileSync('input.svg', 'utf8');
fs.writeFileSync('output.svg', starumlWatermarkRemover(svg));
CLI
The staruml-watermark-remover
has the alias swr
.
$ staruml-watermark-remover input.svg -o output.svg
Options
-p, --png
: Output aspng
file.-o, --output <path>
: Output file path.-h, --help
: Show help.-v, --version
: Show version.
License
MIT © Abraham Hernandez