1.0.1 • Published 4 years ago
staruml-watermark-remover v1.0.1
staruml-watermark-remover
Remove StarUML watermark from your
svgdiagrams.
Installation
yarn add staruml-watermark-removerOtherwise 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.svgOptions
-p, --png: Output aspngfile.-o, --output <path>: Output file path.-h, --help: Show help.-v, --version: Show version.
License
MIT © Abraham Hernandez