Gathering detailed insights and metrics for typedoc-plugin-mermaid
Gathering detailed insights and metrics for typedoc-plugin-mermaid
Gathering detailed insights and metrics for typedoc-plugin-mermaid
Gathering detailed insights and metrics for typedoc-plugin-mermaid
A plugin for TypeDoc that generates graphs for mermaid.js diagrams by @mermaid annotation.
npm install typedoc-plugin-mermaid
Typescript
Module System
Min. Node Version
Node Version
NPM Version
85.2
Supply Chain
98.5
Quality
79.9
Maintenance
100
Vulnerability
99.3
License
typedoc-plugin-mermaid@1.12.0
Updated on Jul 04, 2024
typedoc-plugin-mermaid@1.11.1
Updated on Jun 13, 2024
typedoc-plugin-mermaid@1.11.0
Updated on Jun 13, 2024
v1.10.0 🌈
Updated on Mar 07, 2023
v1.9.0 🌈
Updated on Jul 16, 2022
v1.8.0 🌈
Updated on Apr 06, 2022
TypeScript (100%)
Total Downloads
560,020
Last Day
413
Last Week
10,809
Last Month
36,800
Last Year
192,839
MIT License
31 Stars
424 Commits
9 Forks
2 Watchers
19 Branches
7 Contributors
Updated on Feb 05, 2025
Minified
Minified + Gzipped
Latest Version
1.12.0
Package Id
typedoc-plugin-mermaid@1.12.0
Unpacked Size
20.49 kB
Size
6.26 kB
File Count
6
NPM Version
10.7.0
Node Version
20.15.0
Published on
Jul 04, 2024
Cumulative downloads
Total Downloads
Last Day
-34.5%
413
Compared to previous day
Last Week
-12.2%
10,809
Compared to previous week
Last Month
66.1%
36,800
Compared to previous month
Last Year
51.8%
192,839
Compared to previous year
1
1
A plugin for TypeDoc that generates graphs for mermaid.js diagrams by @mermaid annotation.
The plugin can then be installed using npm:
1# npm 2npm install --save-dev typedoc-plugin-mermaid 3# or yarn 4yarn add -D typedoc-plugin-mermaid
Add this plugin in your typedoc.json
:
1{ 2 "plugin": ["typedoc-plugin-mermaid"] 3}
If you use the @mermaid
tag in your tsdoc comments,
add typedoc-plugin-mermaid/tsdoc.json
to the extends of tsdoc.json:
1{ 2 "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", 3 "extends": [ 4 "typedoc-plugin-mermaid/tsdoc.json" 5 ] 6}
Write tsdoc with @mermaid
annotations:
1/** 2 * Hoge is sample class for example of `typedoc-plugin-mermaid`. 3 * 4 * @mermaid Make TypeDoc easy to use with mermaid.js 5 * graph TB 6 * mermaid.js --> TypeDoc; 7 */ 8export class Hoge { }
Or use fenced code blocks:
1/** 2 * Mermaid code blocks are automatically detect and converted. 3 * 4 * ```mermaid 5 * graph TB 6 * mermaid.js --> TypeDoc; 7 * ``` 8 */ 9export class Mermaid { }
The following arguments can be used in addition to the default TypeDoc arguments.
1$ typedoc --help 2... 3Options: 4 --mermaidVersion [Mermaid Plugin] The version of mermaid.js to use. 5...
--mermaidVersion
Specify mermaid.js version to use.
Default: latest
, Example: 8.14.0
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This software is released under the MIT License, see LICENSE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
all dependencies are pinned
Details
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 8
Details
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More