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

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

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
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 10 Jul 2012

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