codecov-lite
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

codecov-lite npm

LCOV (code coverage data) uploader for codecov.io service. Synced with codecov-bash.

  • no CLI
  • no local Git
  • no GCOV features
  • Promise-based API

Supported services

Install

$ yarn add --dev codecov-lite

Usage

import { readFile } from 'fs'
import { promisify } from 'util'
import codecov from 'codecov-lite'
 
(async () => {
  const pReadFile = promisify(readFile)
  const lcovData = readFile('./coverage/lcov.info', 'utf8')
  const { reportURL, config } = await codecov(lcovData)
})()

Readme

Keywords

Package Sidebar

Install

npm i codecov-lite

Weekly Downloads

5,401

Version

2.0.0

License

MIT

Unpacked Size

13.8 kB

Total Files

34

Last publish

Collaborators

  • deepsweet
  • fosimus
  • psxcode