</>PackageGraphPackageGraph

istanbul-lib-instrument

npmv6.0.3

Core 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.

5
Direct dependencies

Runtime packages this one declares itself.

8
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4.3 MB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

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

BSD-3-ClauseISCMIT

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.

PackageWeekly downloadsDependentsLicenseLast release
istanbul-lib-instrumentthis page04BSD-3-Clause2 years ago
@vitest/istanbul-lib-instrument24.9K2MIT1 day ago
@vitest/istanbul-lib-coverage495.5K7MIT1 day ago
v8-to-istanbul01ISC1 day ago
babel-plugin-istanbul06BSD-3-Clause1 day ago
@vitest/coverage-istanbul04MIT1 day ago

Dependencies

Declared by istanbul-lib-instrument v6.0.3. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (9)

@babel/cli ^7.23.9chai ^4.2.0clone ^2.1.2debug ^4.1.1documentation ^12.1.4js-yaml ^3.13.1mocha ^6.2.3nopt ^4.0.1nyc ^15.1.0

Used by

Popular packages that depend on istanbul-lib-instrument.

Relationship graph

Dependencies (left) and dependents (right) of istanbul-lib-instrument.

Frequently installed together

Release history

No releases in the last two years, typically about 56 days apart.

Recent versions of istanbul-lib-instrument
VersionPublishedSizeLicense
6.0.3latest2 years ago70 KBBSD-3-Clause
6.0.22 years ago70 KBBSD-3-Clause
6.0.12 years ago70 KBBSD-3-Clause
6.0.03 years ago69 KBBSD-3-Clause
5.2.13 years ago69 KBBSD-3-Clause
5.2.04 years ago68 KBBSD-3-Clause
5.1.04 years ago64 KBBSD-3-Clause
5.0.44 years ago60 KBBSD-3-Clause
5.0.34 years ago60 KBBSD-3-Clause
5.0.25 years ago60 KBBSD-3-Clause
4.0.36 years ago57 KBBSD-3-Clause
4.0.26 years ago56 KBBSD-3-Clause
4.0.16 years ago56 KBBSD-3-Clause
4.0.06 years ago56 KBBSD-3-Clause
4.0.0-alpha.36 years ago55 KBBSD-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

Keywords

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.