1.4.0 • Published 5 years ago

plantuml-encoder v1.4.0

Weekly downloads
19,738
License
MIT
Repository
github
Last release
5 years ago

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

water-uml@infinitebrahmanuniverse/nolb-plantui-editor1@everything-registry/sub-chunk-2444@akebifiky/remark-simple-plantuml@campbell-bartlett/asciidoctor-plantumltypeorm-umlvickymdtplantupresstypedoc-umlclasstypedoc-umlclass-modtypescript-business-rules-enginex-tui-editorwitivio-tui-editortui-editortui-editor-alternatetui-editor-dttui-editor-jgtui-editor-modtui-editor2tsuml-clischema-to-erd@inease/slidev-cli@entrofi/node-plantuml@geekeditor/meditable@howyi/foil@0xgg/echomd@inscreen/typeorm-uml@kolibrijs/cli@kolibry/cli@jeff-tian/tplant@jthinking/pro-editor@kne/blog-maker@jeecg/tui-editor@marktext/muya@zalastax/nolb-planmt-tui-editormdplantlibmeditable@slidev/climarkdown-it-plantuml-onlinenode-plantumlnode-plantuml-backnode-plantuml-betanode-plantuml-customnode-plantuml-include-vizjsnode-plantuml-latestnode-plantuml-testnode-plantuml-vizjsgatsby-remark-plantuml-litegitbook-plugin-uml-onlinegitbook-plugin-pumlgitbook-plugin-puml-aleungopenapi2plantumlasciidoctor-jiraasciidoctor-plantumlgtmplant@portenez/plantuml-watch@proscom/typeorm-uml@ones-editor/editor@openstapps/core-tools@packetsafari/cli@seanc/node-plantuml@theia/plantuml@thebluedoc/editor@starzkg/vuepress-plugin-markdown-enhance@toast-ui/editor-plugin-umlngrx-umlfm-toolastro-markdown-renderpandoc-plantumlhappy-stecasefu-convertergithub-wikito-converterpcomppeter-editorplantuml-node-latestplantuml-txtplantviewpuml-for-markdownpuml-to-pnghonkit-plugin-plantuml-serverpolywoo-mana-editorpw-node-plantumlcrossnotejupyter-ijavascript-utilscrowicopy-tui-editorjoplin-plugin-plantuml2joplin-plugin-enhancementreact-plantumldocsify-pumldocsify-plantumllivingdoc-typescript-pluginremark-encode-plantumlremark-plantuml-linkremarkable-plantuml
1.4.0

5 years ago

1.3.0

5 years ago

1.2.6

5 years ago

1.2.5

6 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago