markplus-charts v0.2.7
MarkPlus Charts
MarkPlus 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.
Philosophy
This library aims to offer features comparable to Mermaid and Chart.js, but without relying on the DOM or Canvas.
Why?
While 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.
Install
yarn add add markplus-chartsUsage
import { generate } from 'markplus-charts';
try {
const svgStr = await generate('A -> B');
} catch(e) {
console.log(e.message);
}Chart syntax
Refer to syntax
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago