{"id":18055954,"url":"https://github.com/mogeko/plantuml-encoding","last_synced_at":"2025-04-05T09:42:44.517Z","repository":{"id":259837381,"uuid":"865313730","full_name":"mogeko/plantuml-encoding","owner":"mogeko","description":"A Deno library for encoding PlantUML","archived":false,"fork":false,"pushed_at":"2025-03-03T10:04:56.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T11:22:45.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mogeko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-30T10:30:24.000Z","updated_at":"2025-03-03T10:04:53.000Z","dependencies_parsed_at":"2024-10-28T09:24:50.426Z","dependency_job_id":"8a01b3d2-a1d3-4ba8-979d-9aeb2c6a7d49","html_url":"https://github.com/mogeko/plantuml-encoding","commit_stats":null,"previous_names":["mogeko/plantuml-encoding"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Fplantuml-encoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Fplantuml-encoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Fplantuml-encoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogeko%2Fplantuml-encoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogeko","download_url":"https://codeload.github.com/mogeko/plantuml-encoding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318728,"owners_count":20919483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T01:12:57.161Z","updated_at":"2025-04-05T09:42:44.497Z","avatar_url":"https://github.com/mogeko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plantuml-encoding\n\n[![Test](https://github.com/mogeko/plantuml-encoding/actions/workflows/test.yaml/badge.svg)](https://github.com/mogeko/plantuml-encoding/actions/workflows/test.yaml)\n[![codecov](https://codecov.io/gh/mogeko/plantuml-encoding/graph/badge.svg?token=sOSMiP3F42)](https://codecov.io/gh/mogeko/plantuml-encoding)\n[![JSR](https://jsr.io/badges/@mogeko/plantuml-encoding)](https://jsr.io/@mogeko/plantuml-encoding)\n\nA Deno library for encoding and decoding PlantUML code.\n\n## Installation\n\n```sh\ndeno add @mogeko/plantuml-encoding\n```\n\nFor Node.js users:\n\n```sh\nnpx jsr add @mogeko/plantuml-encoding\n```\n\n## Encoding\n\n```ts\nimport { encode } from \"jsr:@mogeko/plantuml-encoding\";\n\nconst encoded = encode(\"A -\u003e B: Hello\");\nconsole.log(encoded); // SrJGjLDmibBmICt9oGS0\n\nconst url = `https://www.plantuml.com/plantuml/svg/${encoded}`;\n```\n\nVisit the URL and you will get this flowchart:\n\n![puml](https://www.plantuml.com/plantuml/svg/SrJGjLDmibBmICt9oGS0)\n\n## Decoding\n\n```ts\nimport { decode } from \"jsr:@mogeko/plantuml-encoding\";\n\nconst puml = decode(\"SrJGjLDmibBmICt9oGS0\");\nconsole.log(puml); // A -\u003e B: Hello\n```\n\n## LICENSE\n\nThe code in this project is released under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogeko%2Fplantuml-encoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogeko%2Fplantuml-encoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogeko%2Fplantuml-encoding/lists"}