{"id":23516337,"url":"https://github.com/markpluslabs/markplus-charts","last_synced_at":"2025-05-13T23:11:40.603Z","repository":{"id":142317958,"uuid":"434830417","full_name":"markpluslabs/markplus-charts","owner":"markpluslabs","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-24T19:44:07.000Z","size":332,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-24T20:24:19.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markpluslabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-12-04T06:53:30.000Z","updated_at":"2024-11-24T19:44:10.000Z","dependencies_parsed_at":"2024-11-24T20:24:40.680Z","dependency_job_id":"cfbdd172-6656-4c60-8ef9-bb454caad031","html_url":"https://github.com/markpluslabs/markplus-charts","commit_stats":null,"previous_names":["markpluslabs/markplus-charts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markpluslabs%2Fmarkplus-charts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markpluslabs%2Fmarkplus-charts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markpluslabs%2Fmarkplus-charts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markpluslabs%2Fmarkplus-charts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markpluslabs","download_url":"https://codeload.github.com/markpluslabs/markplus-charts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254042342,"owners_count":22004901,"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-12-25T15:12:54.689Z","updated_at":"2025-05-13T23:11:35.567Z","avatar_url":"https://github.com/markpluslabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MarkPlus Charts\n\nMarkPlus Charts is a versatile library for generating charts in SVG format. It works seamlessly in both browser and server-side environments, without relying on the DOM or Canvas, making it lightweight and highly adaptable.\n\n## Philosophy\n\nThis library aims to offer features comparable to [Mermaid](https://mermaid.js.org/) and [Chart.js](https://www.chartjs.org/), but without relying on the DOM or Canvas.\n\n## Why?\n\nWhile I appreciate the capabilities of Mermaid and Chart.js, their heavy dependencies make them less suitable for server-side or Node.js environments. This inspired me to create a lightweight alternative that operates independently of browser-specific technologies.\n\n## Install\n\n```\nyarn add add markplus-charts\n```\n\n## Usage\n\n```ts\nimport { generate } from 'markplus-charts';\n\ntry {\n  const svgStr = await generate('A -\u003e B');\n} catch(e) {\n  console.log(e.message);\n}\n```\n\n## Chart syntax\n\nRefer to [syntax](./syntax.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkpluslabs%2Fmarkplus-charts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkpluslabs%2Fmarkplus-charts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkpluslabs%2Fmarkplus-charts/lists"}