c8
Native Node.js code coverage reporter using V8's built-in coverage, faster and simpler than alternatives.
Testing npm ISC
Used in agent projects
22
0.2% of 12,697 public repos built with AI coding agents
Rank in testing
#36 of 40
by use in those projects
Downloads
4.1M
npm, last 7 days, c8
GitHub stars
2,122
last push Oct 7, 2026
How c8 is used
c8 is a dependency in 22 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #36 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Husky (40.9%), tsx (40.9%), ESLint (77.3%).
Often used with c8
| Husky | 40.9% of c8 projects · 6.5× more than average |
|---|---|
| tsx | 40.9% of c8 projects · 4.1× more than average |
| ESLint | 77.3% of c8 projects · 2.0× more than average |
| lint-staged | 36.4% of c8 projects · 7.8× more than average |
| Changesets | 31.8% of c8 projects · 27.7× more than average |
| markdownlint-cli | 31.8% of c8 projects · 175.7× more than average |
| TypeScript | 81.8% of c8 projects · 1.5× more than average |
| Anthropic SDK | 18.2% of c8 projects · 10.9× more than average |
By coding agent
| Claude Code | 0.4% of projects set up for it |
|---|---|
| Cursor | 0.4% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
| Gemini CLI | 1.6% of projects set up for it |
Share of public repos configured for each agent that list c8 as a dependency.
Install
| Package | npm install c8 |
|---|---|
| Main stacks | TypeScript / JavaScript (18), Python (2), React Native / Expo (1), Next.js (1) |
| Example projects | mturac/everything-openai-codex, lirantal/ls-mcp, lirantal/tokenu, lirantal/agent-rules, evan043/claude-cli-advanced-starter-pack |
Alternatives to c8
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vitest npm Next-generation testing framework powered by Vite with native ESM. |
1,549 (12.2%) | 123M | 17.2K | MIT |
| Playwright (JavaScript) npm Cross-browser automation library for end-to-end testing. |
1,117 (8.8%) | 74.2M | 97.4K | Apache-2.0 |
| Testing Library npm Testing utilities for React encouraging testing user behavior. |
915 (7.2%) | 68.7M | 19.7K | MIT |
| Jest npm Delightful JavaScript testing framework with minimal configuration. |
702 (5.5%) | 46.3M | 45.6K | MIT |
| jsdom npm JavaScript implementation of web standards for testing DOM interactions. |
681 (5.4%) | 112M | 21.7K | MIT |
| pytest pypi Simple, powerful Python testing framework with fixtures and plugins. |
330 (2.6%) | 196M | 14.6K | — |
| Chai npm BDD/TDD assertion library for Node.js and browsers with expressive syntax. |
305 (2.4%) | 14M | 8,265 | MIT |
| Mocha npm Feature-rich JavaScript test framework for Node.js and browsers. |
281 (2.2%) | 12.6M | 22.9K | MIT |