Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

istanbul-lib-report

Package Overview
Dependencies
3
Maintainers
3
Versions
24
Issues
File Explorer

Advanced tools

istanbul-lib-report

Base reporting library for istanbul

    3.0.0latest
    Github

Version published
Maintainers
3
Weekly downloads
17,148,076
decreased by-17.87%

Weekly downloads

Readme

Source

istanbul-lib-report

Greenkeeper badge Build Status

Core reporting utilities for istanbul.

Example usage

const libReport = require('istanbul-lib-report'); const reports = require('istanbul-reports'); // coverageMap, for instance, obtained from istanbul-lib-coverage const coverageMap; const configWatermarks = { statements: [50, 80], functions: [50, 80], branches: [50, 80], lines: [50, 80] }; // create a context for report generation const context = libReport.createContext({ dir: 'report/output/dir', // The summarizer to default to (may be overridden by some reports) // values can be nested/flat/pkg. Defaults to 'pkg' defaultSummarizer: 'nested', watermarks: configWatermarks, coverageMap, }) // create an instance of the relevant report class, passing the // report name e.g. json/html/html-spa/text const report = reports.create('json', { skipEmpty: configSkipEmpty, skipFull: configSkipFull }) // call execute to synchronously create and write the report to disk report.execute(context)

Keywords

FAQs

What is istanbul-lib-report?

Base reporting library for istanbul

Is istanbul-lib-report popular?

The npm package istanbul-lib-report receives a total of 13,687,129 weekly downloads. As such, istanbul-lib-report popularity was classified as popular.

Is istanbul-lib-report well maintained?

We found that istanbul-lib-report demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 3 open source maintainers collaborating on the project.

Last updated on 20 Dec 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc