Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monocart-coverage-reports

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monocart-coverage-reports

Monocart coverage reports

  • 1.0.1
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
192K
decreased by-19.57%
Maintainers
1
Weekly downloads
 
Created
Source

Monocart Coverage Reports

Code coverage tool to generate V8 or Istanbul coverage reports.

Preview Reports

Usage

const CoverageReport = require('monocart-coverage-reports');
const options = {
    outputFile: "coverage-reports/2023-11-24/index.html",
    name: "My Coverage Report 2023-11-24"
}
const coverageReport = new CoverageReport(options);
await coverageReport.add(coverageData1);
await coverageReport.add(coverageData2);
const report = await coverageReport.generate();

Options

Compare Reports

IstanbulV8V8 to Istanbul
InputIstanbul (Object)V8 (Array)V8 (Array)
OutputIstanbul HTML reportV8 HTML reportIstanbul HTML report
IndicatorsCovered Lines, Branches, Statements and Functions, Execution CountsCovered Bytes, Lines❔, Execution CountsCovered Lines, Branches❔, Statements and Functions, Execution Counts
CSS coverage
Minified codeN/A
Code formattingN/A

❔ - Partial or conditional support

Compare Workflows

Chromium Coverage API

Istanbul Coverage

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc