Gathering detailed insights and metrics for typedoc-plugin-mermaid
Gathering detailed insights and metrics for typedoc-plugin-mermaid
npm install typedoc-plugin-mermaid
Typescript
Module System
Min. Node Version
Node Version
NPM Version
62.4
Supply Chain
98.5
Quality
84.2
Maintenance
100
Vulnerability
99.3
License
typedoc-plugin-mermaid@1.12.0
Published on 04 Jul 2024
typedoc-plugin-mermaid@1.11.1
Published on 13 Jun 2024
typedoc-plugin-mermaid@1.11.0
Published on 13 Jun 2024
v1.10.0 🌈
Published on 07 Mar 2023
v1.9.0 🌈
Published on 16 Jul 2022
v1.8.0 🌈
Published on 06 Apr 2022
TypeScript (100%)
Total Downloads
456,694
Last Day
182
Last Week
831
Last Month
12,306
Last Year
135,088
30 Stars
424 Commits
9 Forks
3 Watching
19 Branches
7 Contributors
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
Publised On
04 Jul 2024
Cumulative downloads
Total Downloads
Last day
-46.5%
182
Compared to previous day
Last week
-70.5%
831
Compared to previous week
Last month
-8.2%
12,306
Compared to previous month
Last year
12.2%
135,088
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 dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
no binaries found in the repo
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
9 existing vulnerabilities detected
Details
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-01-06
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