Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

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

Version published
Maintainers
3
Weekly downloads
16,037,906
decreased by-19.78%

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 12,236,858 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
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc