istanbul-lib-instrument
npmv6.0.3Core istanbul API for JS code coverage
Adopt with care
istanbul-lib-instrument is usable, with caveats. Last published 801 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- DMaintenance: grade D, Poor — a real concern.
Last published 801 days ago.
- BWeight: grade B, Good.
Pulls in 8 transitive packages, about 4.3 MB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 4 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
BSD-3-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding istanbul-lib-instrument to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing istanbul-lib-instrument, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=10
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
istanbul-lib-instrument vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| istanbul-lib-instrumentthis page | 0 | 4 | BSD-3-Clause | 2 years ago |
| @vitest/istanbul-lib-instrument | 24.9K | 2 | MIT | 1 day ago |
| @vitest/istanbul-lib-coverage | 495.5K | 7 | MIT | 1 day ago |
| v8-to-istanbul | 0 | 1 | ISC | 1 day ago |
| babel-plugin-istanbul | 0 | 6 | BSD-3-Clause | 1 day ago |
| @vitest/coverage-istanbul | 0 | 4 | MIT | 1 day ago |
Dependencies
Declared by istanbul-lib-instrument v6.0.3. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (5)
Dev (9)
Used by
Popular packages that depend on istanbul-lib-instrument.
Jest's reporters
AST-aware v8-to-istanbul
Istanbul coverage provider for Vitest
A babel plugin that adds istanbul instrumentation to ES6 code
Relationship graph
Dependencies (left) and dependents (right) of istanbul-lib-instrument.
Frequently installed together
Source maps support for istanbul
A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)
istanbul reports
Base reporting library for istanbul
TypeScript definitions for istanbul-reports
TypeScript definitions for istanbul-lib-coverage
TypeScript definitions for istanbul-lib-report
Data library for istanbul coverage objects
Trace the original position through a source map
Next generation testing framework powered by Vite
TypeScript definitions for node
This packages is a collection of utilities and helper functions
Release history
No releases in the last two years, typically about 56 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 6.0.3latest | 2 years ago | 70 KB | BSD-3-Clause |
| 6.0.2 | 2 years ago | 70 KB | BSD-3-Clause |
| 6.0.1 | 2 years ago | 70 KB | BSD-3-Clause |
| 6.0.0 | 3 years ago | 69 KB | BSD-3-Clause |
| 5.2.1 | 3 years ago | 69 KB | BSD-3-Clause |
| 5.2.0 | 4 years ago | 68 KB | BSD-3-Clause |
| 5.1.0 | 4 years ago | 64 KB | BSD-3-Clause |
| 5.0.4 | 4 years ago | 60 KB | BSD-3-Clause |
| 5.0.3 | 4 years ago | 60 KB | BSD-3-Clause |
| 5.0.2 | 5 years ago | 60 KB | BSD-3-Clause |
| 4.0.3 | 6 years ago | 57 KB | BSD-3-Clause |
| 4.0.2 | 6 years ago | 56 KB | BSD-3-Clause |
| 4.0.1 | 6 years ago | 56 KB | BSD-3-Clause |
| 4.0.0 | 6 years ago | 56 KB | BSD-3-Clause |
| 4.0.0-alpha.3 | 6 years ago | 55 KB | BSD-3-Clause |
Overview
istanbul-lib-instrument is an npm package that core istanbul API for JS code coverage. It has 4 known dependents in the graph. The latest version is 6.0.3, released under the BSD-3-Clause license.
Who should use it
Teams working in the npm ecosystem who need core istanbul API for JS code coverage and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (BSD-3-Clause).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use istanbul-lib-instrument?
istanbul-lib-instrument is usable, with caveats. Last published 801 days ago.
How do I install istanbul-lib-instrument?
Run `npm install istanbul-lib-instrument` to add istanbul-lib-instrument to your npm project.
How many dependencies does istanbul-lib-instrument have?
istanbul-lib-instrument declares 14 direct dependencies and pulls in 8 packages in total once its runtime tree is resolved totalling about 4.3 MB on disk.
What license is istanbul-lib-instrument released under?
istanbul-lib-instrument is distributed under the BSD-3-Clause license. Its dependency tree also includes: BSD-3-Clause, ISC, MIT.
How popular is istanbul-lib-instrument?
npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on istanbul-lib-instrument.
Is istanbul-lib-instrument still maintained?
The most recent release of istanbul-lib-instrument (v6.0.3) was published 2 years ago.
Does istanbul-lib-instrument run install scripts?
No. istanbul-lib-instrument does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.