20.0.0-v1.2024.4 • Published 1 month ago

plantuml-static v20.0.0-v1.2024.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Packaged plantuml.jar

This package contains a specific version of PlantUML. Using this enables managing and updating the plantuml via NPM.

It is recommended to install the platform-specific PlantUML version too so that all the dependencies are present.

Install

  • npm i plantuml-static

Use

The path to the jar file and the version is exported by the module:

import * as plantUml from "plantuml-static";

console.log(plantUml.path);
// /tmp/test/node_modules/plantuml-static/vendor/plantuml.jar
console.log(plantUml.version);
// v1.2023.0

Use this when you invoke PlantUML.

Update

Use the built-in updater tool:

npm run update