plantuml-encoder

WebJar for plantuml-encoder

License

License

MIT
Categories

Categories

Ant Build Tools UML Business Logic Libraries Documents Processing
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

plantuml-encoder
Last Version

Last Version

1.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

plantuml-encoder
WebJar for plantuml-encoder
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/markushedvall/plantuml-encoder

Download plantuml-encoder

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/plantuml-encoder/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>plantuml-encoder</artifactId>
    <version>1.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/plantuml-encoder/
implementation 'org.webjars.npm:plantuml-encoder:1.4.0'
// https://jarcasting.com/artifacts/org.webjars.npm/plantuml-encoder/
implementation ("org.webjars.npm:plantuml-encoder:1.4.0")
'org.webjars.npm:plantuml-encoder:jar:1.4.0'
<dependency org="org.webjars.npm" name="plantuml-encoder" rev="1.4.0">
  <artifact name="plantuml-encoder" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='plantuml-encoder', version='1.4.0')
)
libraryDependencies += "org.webjars.npm" % "plantuml-encoder" % "1.4.0"
[org.webjars.npm/plantuml-encoder "1.4.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

plantuml-encoder

PlantUML encoder for browsers and Node.js.

npm Version build-status js-standard-style

Encoded PlantUML can be used to create PlantUML URL links.

Install

Node.js:

npm install plantuml-encoder

browser:

bower install plantuml-encoder

Example

var plantumlEncoder = require('plantuml-encoder')

var encoded = plantumlEncoder.encode('A -> B: Hello')
console.log(encoded) // SrJGjLDmibBmICt9oGS0

var url = 'http://www.plantuml.com/plantuml/img/' + encoded

The URL can then be used to display the diagram:

alt tag

Decode example

var plantumlEncoder = require('plantuml-encoder')

var plain = plantumlEncoder.decode('SrJGjLDmibBmICt9oGS0')
console.log(plain) // A -> B: Hello

License

MIT

Versions

Version
1.4.0
1.2.5