0.0.1 • Published 3 years ago

plantuml-api v0.0.1

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

Javascript API Client Code

baed on: https://plantuml.com/code-javascript-synchronous

Reference

https://github.com/johan/js-deflate

Usage

const { geturl } = require('./index');

console.log(geturl('Bob->Alice : hello', 'svg'));

you'll get this URL: http://www.plantuml.com/plantuml/svg/SyfFqhLppCbCJbMmKiX8pSd91m00

Now you can use any web browser to open the URL, or embed it into html code within the tag.