Package Exports
- staruml-watermark-remover
- staruml-watermark-remover/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (staruml-watermark-remover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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