Socket
Socket
Sign inDemoInstall

typedoc-plugin-coverage

Package Overview
Dependencies
12
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typedoc-plugin-coverage

A plugin for TypeDoc to generate a documentation coverage badge.


Version published
Weekly downloads
9.4K
increased by22.38%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

typedoc-plugin-coverage

A plugin for TypeDoc to generate a documentation coverage badge.

This plugin will write a coverage.svg badge to your output directory when generating HTML documentation that includes the percentage of your API surface which is documented. It will respect TypeDoc's requiredToBeDocumented option, and only report missing documentation if reflections covered by that option are undocumented.

Options

  • coverageLabel - Define the label for the coverage badge. Defaults to 'document'.
  • coverageColor - Define the define the color of the coverage badge background. Defaults to a dynamic color depending on coverage percentage.
  • coverageOutputPath - Defines the path where the coverage badge will be written, defaults to <output directory>/coverage.svg.

Default colors/icon sourced from esdoc-coverage-plugin

If the numbers don't match what you expected, or don't match what TypeDoc implies should be documented, set --logLevel Verbose to see additional logging about what was considered documented/not documented.

Keywords

FAQs

Last updated on 27 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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