nyc
Code coverage tool built on istanbul for subprocesses.
- Status
- Generally available
- Last checked
- Aging · Sep 1, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
nyc is a code coverage tool that works with subprocesses and is built on top of Istanbul. It helps developers measure the effectiveness of their test suites by identifying which parts of the code are being tested and which are not.
nyc stands out as an open-source tool specifically designed to work seamlessly with subprocesses, offering detailed and accurate code coverage reports for JavaScript and TypeScript projects.
When it fits — and when it doesn’t
A good fit for
JavaScript and TypeScript projects needing detailed coverage reports.
Teams that require integration with subprocesses for accurate coverage analysis.
Look elsewhere if
Projects requiring cloud-based code coverage services.
Developers looking for a web UI to manage their test coverage.
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Steep learning curve for new users
nyc's configuration options and integration with test runners can be complex, requiring significant time to fully understand.
- 02
Limited documentation on advanced usage
The official documentation focuses mainly on basic setup and usage but lacks detailed examples for more complex scenarios such as custom reporters or integrations with CI/CD pipelines.
- 03
Performance overhead during testing
nyc can introduce significant performance overhead, especially in large projects, which may slow down the test suite execution time.
- 04
Issues with subprocesses and coverage reporting
Subprocess code coverage might not be accurately reported due to limitations in how nyc handles child processes and external modules.
What it does well
Works with subprocesses to measure code coverage.
Built on top of Istanbul for robust coverage analysis.
Supports both JavaScript and TypeScript.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up nyc
Setup steps, common gotchas and what to check after 30 days.