{"id":16949652,"url":"https://github.com/kermanx/node-mermaid-render","last_synced_at":"2026-05-02T19:31:55.694Z","repository":{"id":179783344,"uuid":"643053851","full_name":"kermanx/node-mermaid-render","owner":"kermanx","description":"Render Mermaid charts in Node.js environment.","archived":false,"fork":false,"pushed_at":"2023-07-11T01:16:53.000Z","size":937,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T02:25:58.991Z","etag":null,"topics":["mermaid","nodejs"],"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/kermanx.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":"2023-05-20T01:19:25.000Z","updated_at":"2024-08-20T02:25:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b128c2b4-cdac-4177-9222-f25f598db5fe","html_url":"https://github.com/kermanx/node-mermaid-render","commit_stats":null,"previous_names":["kermanx/node-mermaid-render"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kermanx/node-mermaid-render","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Fnode-mermaid-render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Fnode-mermaid-render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Fnode-mermaid-render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Fnode-mermaid-render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kermanx","download_url":"https://codeload.github.com/kermanx/node-mermaid-render/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2Fnode-mermaid-render/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mermaid","nodejs"],"created_at":"2024-10-13T21:55:43.611Z","updated_at":"2026-05-02T19:31:55.670Z","avatar_url":"https://github.com/kermanx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-mermaid-render\n\nRender Mermaid charts in Node.js environment.\n\nAlso can be seen as a simplified version of [mermaid-cli](https://github.com/mermaid-js/mermaid-cli/) with better API support.\n\nMost of its core code is from [mermaid-cli](https://github.com/mermaid-js/mermaid-cli/).\n\n## Install\n\n```bash\nnpm install node-mermaid-render\n```\n\n## Usage\n\n```typescript\nimport { NodeMermaidRender } from \"node-mermaid-render\";\n\nconst mermaidRender = new NodeMermaidRender();\n\n(async () =\u003e {\n  // Initialize mermaid render.\n  // If don't call this method, it will be called automatically when calling rendering method.\n  // Remember to call it with `await` keyword.\n  await mermaidRender.initialize();\n\n  const svg = await mermaidRender.renderToSVG(`\n    graph TD;\n      A--\u003eB;\n      A--\u003eC;\n      B--\u003eD;\n      C--\u003eD;\n  `).data.toString();\n})();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Fnode-mermaid-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkermanx%2Fnode-mermaid-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Fnode-mermaid-render/lists"}