Socket
Socket
Sign inDemoInstall

lcov-parse

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lcov-parse

Parse lcov results files and return JSON


Version published
Weekly downloads
359K
decreased by-0.48%
Maintainers
1
Weekly downloads
 
Created

What is lcov-parse?

The lcov-parse npm package is a utility for parsing LCOV coverage files. LCOV is a format for code coverage reports, and this package allows you to read and manipulate these reports programmatically.

What are lcov-parse's main functionalities?

Parse LCOV file

This feature allows you to parse an LCOV file and get the coverage data in a structured format. The code sample reads an LCOV file and parses it using the lcov-parse package, then logs the parsed result.

const lcovParse = require('lcov-parse');
const fs = require('fs');

fs.readFile('path/to/lcov.info', 'utf8', (err, data) => {
  if (err) throw err;
  lcovParse(data, (err, result) => {
    if (err) throw err;
    console.log(result);
  });
});

Other packages similar to lcov-parse

FAQs

Package last updated on 12 Jun 2017

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