c8
github.com
Spec sheet
- Purpose
- c8 produces code coverage reports using Node.js’ built-in V8 coverage.Read 8 Oct 2026 · github.com
- Security
- The repository has a Security and quality section, but the opened security page did not expose specific security or compliance claims.Read 8 Oct 2026 · github.com
- License
- The repository identifies its license as ISC.Read 8 Oct 2026 · github.com
- Configuration
- c8 accepts command-line flags, a c8 section in package.json, or a JSON configuration file.Read 8 Oct 2026 · github.com
- Coverage scope
- The --all option adds eligible source files that were not loaded by the engine to the report with 0% coverage.Read 8 Oct 2026 · github.com
- Ignore comments
- Special c8 comments can exclude the next line, a chosen number of lines, or a block from coverage.Read 8 Oct 2026 · github.com
- Installation
- The README shows installing c8 globally with npm and running it with a Node.js script.Read 8 Oct 2026 · github.com
- Report compatibility
- Its coverage is compatible with Istanbul reporters.Read 8 Oct 2026 · github.com
- Report formats
- The README documents Istanbul-compatible reporters and an experimental Monocart option with v8 and console-details reporters.Read 8 Oct 2026 · github.com
- Runtime requirement
- The latest listed release, v12.0.0, states that its dependencies require Node.js ^20.19.0, ^22.12.0, or >=23.Read 8 Oct 2026 · github.com
- Source maps
- c8 can remap coverage from generated code to original source files and load inline or separate source map files.Read 8 Oct 2026 · github.com
- Thresholds
- c8 can fail tests when coverage falls below configured thresholds, including per-file checks.Read 8 Oct 2026 · github.com
Plans and prices
c8 Free Open-source Node.js command-line code coverage tool Read 8 Oct 2026 · github.com
Where Specifiction places it
- Test Coverage Tools#11 of 277.7