Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

mermaid-render

Package Overview
Dependencies
7
Maintainers
1
Versions
9
Issues
File Explorer

Advanced tools

mermaid-render

render mermaid diagrams outside of the browser using puppeteer

    1.0.9latest
    GitHub

Version published
Maintainers
1
Weekly downloads
6
decreased by-33.33%

Weekly downloads

Readme

Source

mermaid-render

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

Last updated on 20 Oct 2020

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc