
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
react-mermaid
Advanced tools
A react component to display mermaid diagrams and flowcharts.
npm install --save react-mermaidvar React = require('react');
var Mermaid = require('react-mermaid');
var Component = React.createClass({
render: function () {
return (
<Mermaid name="diagram">
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
</Mermaid>
);
}
});
| Property | Type | Argument | Default | Description |
|---|---|---|---|---|
| name | string | <optional> | mermaid | name of the diagram/flowchart |
react-mermaid is built using ES6. Run the following task to compile the src/ into dist/.
npm run build
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
Copyright (c) 2015 Jason Bellamy
Licensed under the MIT license.
FAQs
A react component to display mermaid diagrams and flowcharts.
The npm package react-mermaid receives a total of 349 weekly downloads. As such, react-mermaid popularity was classified as not popular.
We found that react-mermaid 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 for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.