babel-plugin-istanbul
npmv8.0.0A babel plugin that adds istanbul instrumentation to ES6 code
Adopt with care
babel-plugin-istanbul is usable, with caveats. Pulls in 29 transitive packages, about 7.0 MB installed (at least — some of the tree is still being crawled).
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 154 days ago. 4 releases in the last 2 years.
- CWeight: grade C, Fair — worth a look.
Pulls in 29 transitive packages, about 7.0 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 babel-plugin-istanbul 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 babel-plugin-istanbul, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=18
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the babel-plugin-istanbul README.
{
"env": {
"test": {
"plugins": [ "istanbul" ]
}
}
}babel-plugin-istanbul 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 |
|---|---|---|---|---|
| babel-plugin-istanbulthis page | 0 | 6 | BSD-3-Clause | 5 months ago |
| @vitest/istanbul-lib-instrument | 24.9K | 2 | MIT | 1 day ago |
| istanbul-lib-instrument | 0 | 4 | BSD-3-Clause | 1 day ago |
| @react-native/babel-plugin-codegen | 0 | 2 | MIT | 1 day ago |
| @rolldown/pluginutils | 132.4M | 1 | MIT | 1 day ago |
| istanbul-lib-source-maps | 55.8M | 5 | BSD-3-Clause | 1 day ago |
Dependencies
Declared by babel-plugin-istanbul v8.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (5)
Dev (12)
Used by
Popular packages that depend on babel-plugin-istanbul.
A JavaScript text diff implementation.
Public API for OpenTelemetry
No description provided.
Jest plugin to use babel for transformation.
Lightweight browser detector
An implementation of WHATWG EventTarget interface.
Relationship graph
Dependencies (left) and dependents (right) of babel-plugin-istanbul.
Frequently installed together
TypeScript definitions for @babel/core
A drop-in replacement for fs, making various improvements.
Convert Windows backslash paths to slash paths
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
An AST-based pattern checker for JavaScript.
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
This packages is a collection of utilities and helper functions
Trace the original position through a source map
No description provided.
`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects
This package contains shared types of Jest's packages.
No description provided.
Release history
4 releases in the last two years, typically about 83 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 8.0.0latest | 5 months ago | 13 KB | BSD-3-Clause |
| 8.0.2 | 5 months ago | 13 KB | BSD-3-Clause |
| 8.0.1 | 5 months ago | 13 KB | BSD-3-Clause |
| 7.0.1 | 1 year ago | 26 KB | BSD-3-Clause |
| 7.0.0 | 2 years ago | 26 KB | BSD-3-Clause |
| 6.1.1 | 4 years ago | 25 KB | BSD-3-Clause |
| 6.0.0 | 6 years ago | 25 KB | BSD-3-Clause |
| 6.0.0-beta.2 | 6 years ago | 25 KB | BSD-3-Clause |
| 6.0.0-beta.1 | 6 years ago | 24 KB | BSD-3-Clause |
| 6.0.0-beta.0 | 7 years ago | 24 KB | BSD-3-Clause |
| 5.2.0 | 7 years ago | 22 KB | BSD-3-Clause |
| 5.1.4 | 7 years ago | 21 KB | BSD-3-Clause |
| 5.1.3 | 7 years ago | 21 KB | BSD-3-Clause |
| 5.1.2 | 7 years ago | 20 KB | BSD-3-Clause |
| 5.1.1 | 7 years ago | 20 KB | BSD-3-Clause |
Overview
babel-plugin-istanbul is an npm package that a babel plugin that adds istanbul instrumentation to ES6 code. It has 6 known dependents in the graph. The latest version is 8.0.0, released under the BSD-3-Clause license.
Who should use it
Teams working in the npm ecosystem who need a babel plugin that adds istanbul instrumentation to ES6 code and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, 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
- Large dependency tree (17 direct dependencies) increases install size and audit surface.
- 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 babel-plugin-istanbul?
babel-plugin-istanbul is usable, with caveats. Pulls in 29 transitive packages, about 7.0 MB installed (at least — some of the tree is still being crawled).
How do I install babel-plugin-istanbul?
Run `npm install babel-plugin-istanbul` to add babel-plugin-istanbul to your npm project.
How many dependencies does babel-plugin-istanbul have?
babel-plugin-istanbul declares 17 direct dependencies and pulls in 29 packages in total once its runtime tree is resolved totalling about 7.0 MB on disk.
What license is babel-plugin-istanbul released under?
babel-plugin-istanbul is distributed under the BSD-3-Clause license. Its dependency tree also includes: BSD-3-Clause, BlueOak-1.0.0, ISC, MIT.
How popular is babel-plugin-istanbul?
npm does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on babel-plugin-istanbul.
Is babel-plugin-istanbul still maintained?
The most recent release of babel-plugin-istanbul (v8.0.0) was published 5 months ago.
Does babel-plugin-istanbul run install scripts?
No. babel-plugin-istanbul does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.