{"id":13508769,"url":"https://github.com/codecov/codecov-node","last_synced_at":"2025-03-30T11:32:46.041Z","repository":{"id":38420664,"uuid":"44372354","full_name":"codecov/codecov-node","owner":"codecov","description":"Global coverage report uploader for Codecov in NodeJS","archived":true,"fork":false,"pushed_at":"2023-01-06T06:01:14.000Z","size":1537,"stargazers_count":294,"open_issues_count":20,"forks_count":112,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-25T03:05:15.736Z","etag":null,"topics":["codecov","coverage","node"],"latest_commit_sha":null,"homepage":"https://codecov.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-16T08:27:38.000Z","updated_at":"2024-11-24T22:29:05.000Z","dependencies_parsed_at":"2023-02-05T12:02:09.761Z","dependency_job_id":null,"html_url":"https://github.com/codecov/codecov-node","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/codecov-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314015,"owners_count":20757453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codecov","coverage","node"],"created_at":"2024-08-01T02:00:58.148Z","updated_at":"2025-03-30T11:32:45.241Z","avatar_url":"https://github.com/codecov.png","language":"JavaScript","readme":"🚨🚨 Deprecation Notice 🚨🚨\n\nThis uploader is being deprecated by the Codecov team. We recommend migrating to our [new uploader](https://docs.codecov.com/docs/codecov-uploader) as soon as possible to prevent any lapses in coverage. [The new uploader is open source](https://github.com/codecov/uploader), and we highly encourage submitting Issues and Pull Requests.\n\nYou can visit our blog post to learn more about our [deprecation plan](https://about.codecov.io/blog/codecov-uploader-deprecation-plan/)\n\n**On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov.**\n\n# Codecov NodeJS Uploader\n\n[![codecov.io](https://codecov.io/github/codecov/codecov-node/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-node?branch=master)\n[![NPM version][npm-image]][npm-url]\n[![Build Status][github-actions-image]][github-actions-url]\n[![Build Status][travis-image]][travis-url]\n[![Dependency Status][depstat-image]][depstat-url]\n[![Dev Dependency Status][devdepstat-image]][devdepstat-url]\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-node.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-node?ref=badge_shield)\n\n[Codecov.io](https://codecov.io/) support for node.js.\n\n## Installation:\n\nAdd the latest version of `codecov` to your package.json:\n\n```\nnpm install codecov --save-dev\n```\n\nor\n\n```\nyarn add codecov --dev\n```\n\n## Usage:\n\nThis script ( `bin/codecov` ) detect your CI provider and all coverage reports and uploads them to Codecov.\n\nOnce your app is instrumented for coverage, and building, simply call `./node_modules/.bin/codecov`.\n\nThis library currently supports the following CI companies: [Travis CI](https://travis-ci.org/), [Travis](https://travis-ci.com/), [Appveyor](https://appveyor.com/), [CircleCI](https://circleci.com/), [Cirrus CI](https://cirrus-ci.org/), [Codeship](https://codeship.io/), [Drone](https://drone.io/), [Jenkins](http://jenkins-ci.org/), [Shippable](https://shippable.com/), [Semaphore](https://semaphoreapp.com/), [Wercker](https://wercker.com/), [Snap CI](https://snap-ci.com/), [Buildkite](https://buildkite.com/), [AWS CodeBuild](https://aws.amazon.com/codebuild/).\n\n#### Upload repo tokens\n\n\u003e Repo tokens are **not** required for public repos tested on Travis-Org, CircleCI or AppVeyor.\n\nRepo tokens are necessary to distinguish your repository from others. You can find your repo token on your repository page at Codecov. Set this unique uuid to `CODECOV_TOKEN` in your environment variables.\n\n```\nexport CODECOV_TOKEN=\":uuid-repo-token\"\n# or\n./node_modules/.bin/codecov --token=:token\n# or\n./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/codecov --pipe\n```\n\n#### [Istanbul](https://github.com/gotwarlost/istanbul)\n\n**With Mocha:**\n\n```sh\nistanbul cover ./node_modules/mocha/bin/_mocha -- -R spec\n./node_modules/.bin/codecov\n```\n\n**With Jasmine:**\n\n```sh\nistanbul cover jasmine-node --captureExceptions spec/\n./node_modules/.bin/codecov\n```\n\n**With Tape:**\n\n```sh\nistanbul cover test.js\n./node_modules/.bin/codecov\n```\n\n[appveyor-url]: https://ci.appveyor.com/project/eddiemoore/codecov-node-s38o6/branch/master\n[github-actions-image]: https://github.com/codecov/codecov-node/workflows/Node%20CI/badge.svg\n[github-actions-url]: https://github.com/codecov/codecov-node/actions?query=workflow%3A%22Node+CI%22\n[travis-image]: https://travis-ci.org/codecov/codecov-node.svg?branch=master\n[travis-url]: https://travis-ci.org/codecov/codecov-node\n[npm-url]: https://npmjs.org/package/codecov\n[npm-image]: https://img.shields.io/npm/v/codecov.svg\n[depstat-url]: https://david-dm.org/codecov/codecov-node\n[depstat-image]: https://david-dm.org/codecov/codecov-node/status.svg\n[devdepstat-url]: https://david-dm.org/codecov/codecov-node?type=dev\n[devdepstat-image]: https://david-dm.org/codecov/codecov-node/dev-status.svg\n\n**With NYC**\n\n```\nnyc npm test\nnyc report --reporter=lcov\n./node_modules/.bin/codecov\n```\n\n## Troubleshooting\n\nIf you're seeing an **HTTP 400 error when uploading reports to S3**, make sure you've updated to at least version 3.7.0.\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-node.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-node?ref=badge_large)\n","funding_links":[],"categories":["JavaScript","Repository","Uncategorized"],"sub_categories":["Testing","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fcodecov-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-node/lists"}