Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

codecov-lite

0.1.3 • Public • Published

codecov-lite

npm build coverage deps

LCOV (code coverage data) uploader for codecov.io service. Fork of codecov.io + codecov-node synced with codecov-bash.

Features and caveats

  • no execSync
  • sync/async services configs
  • Promise-based API
  • stdin-only CLI
  • no GCOV features
  • no local git
  • Node.js >= 0.12

Supported services:

Install

npm i -D codecov-lite

Usage

CLI

cat coverage/lcov.info | ./node_modules/.bin/codecov

API

import codecov from 'codecov-lite';
 
const data = 'LCOV as string goes here';
 
codecov(data)
    .then((result) => {
        console.log(result.config);
        console.log(result.reportURL);
    })
    .catch((error) => {
        console.error('oops', error);
    });

TODO

install

npm i codecov-lite

Downloadsweekly downloads

174

version

0.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability