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

istanbul-lib-coverage

Package Overview
Dependencies
0
Maintainers
4
Versions
27
Issues
File Explorer

Advanced tools

istanbul-lib-coverage

Data library for istanbul coverage objects

    3.2.0latest
    Github

Version published
Maintainers
4
Weekly downloads
27,607,325
increased by8.54%

Weekly downloads

Changelog

Source

istanbul-lib-coverage istanbul-lib-coverage-v3.2.0

Features

  • allow FileCoverage to be initialized with logical tracking (#644) (4cb5af1)

Readme

Source

istanbul-lib-coverage

Greenkeeper badge Build Status

An API that provides a read-only view of coverage information with the ability to merge and summarize coverage info.

Supersedes object-utils and collector from the v0 istanbul API.

See the docs for the full API.

var libCoverage = require('istanbul-lib-coverage'); var map = libCoverage.createCoverageMap(globalCoverageVar); var summary = libCoverage.createCoverageSummary(); // merge another coverage map into the one we created map.merge(otherCoverageMap); // inspect and summarize all file coverage objects in the map map.files().forEach(function(f) { var fc = map.fileCoverageFor(f), s = fc.toSummary(); summary.merge(s); }); console.log('Global summary', summary);

Keywords

FAQs

What is istanbul-lib-coverage?

Data library for istanbul coverage objects

Is istanbul-lib-coverage popular?

The npm package istanbul-lib-coverage receives a total of 26,477,916 weekly downloads. As such, istanbul-lib-coverage popularity was classified as popular.

Is istanbul-lib-coverage well maintained?

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

Last updated on 18 Oct 2021

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