mermaid-render
Advanced tools
Weekly downloads
Readme
This package renders mermaid diagrams outside of the browser using puppeteer. It's a stripped out and improved version of mermaid-cli
. The typescript types are the best documentation of the API.
import { renderMermaid } from 'mermaid-render';
const svg = await renderMermaid(
`pie title NETFLIX
"Time spent looking for movie" : 90
"Time spent watching it" : 10`
);
console.log(svg);
FAQs
render mermaid diagrams outside of the browser using puppeteer
The npm package mermaid-render receives a total of 5 weekly downloads. As such, mermaid-render popularity was classified as not popular.
We found that mermaid-render demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.