ast-v8-to-istanbul
npmv1.0.6TypeScriptAST-aware v8-to-istanbul
Safe to adopt
Yes — ast-v8-to-istanbul scores well across adoption, maintenance, weight, supply chain, and licensing. 23.2M downloads per week and 1 known dependents. Last published 2 days ago. 29 releases in the last 2 years.
- AAdoption: grade A, Excellent.
23.2M downloads per week and 1 known dependents.
- AMaintenance: grade A, Excellent.
Last published 2 days ago. 29 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 6 transitive packages, about 389 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — 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 ast-v8-to-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 ast-v8-to-istanbul, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the ast-v8-to-istanbul README.
import { convert } from "ast-v8-to-istanbul";
import { parseAstAsync } from "vite";
import type { CoverageMapData } from "@vitest/istanbul-lib-coverage";
const data: CoverageMapData = await convert({
// Bring-your-own AST parser
ast: parseAstAsync(<code>),
// Code of the executed file (not the source file)
code: "function sum(a, b) {\n return a + b ...",
// Execution wrapper offset
wrapperLength: 0,
Dependencies
Declared by ast-v8-to-istanbul v1.0.6. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (3)
Dev (28)
Used by
Popular packages that depend on ast-v8-to-istanbul.
Relationship graph
Dependencies (left) and dependents (right) of ast-v8-to-istanbul.
Frequently installed together
Next generation testing framework powered by Vite
Browser running for Vitest
Runtime agnostic JS utils
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
Modify a JS/TS file and write back magically just like JSON!
Browser running for Vitest using playwright
Helper functions for V8 coverage files.
Universal filesystem path utils
A small library to print colourful messages.
Data library for istanbul coverage objects
TypeScript definitions for istanbul-lib-coverage
TypeScript definitions for istanbul-reports
Release history
29 releases in the last two years, typically about 26 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.6latest | 2 days ago | 56 KB | MIT |
| 1.0.5 | 1 month ago | 51 KB | MIT |
| 1.0.4 | 3 months ago | 50 KB | MIT |
| 1.0.3 | 3 months ago | 50 KB | MIT |
| 1.0.2 | 3 months ago | — | MIT |
| 1.0.0 | 6 months ago | 56 KB | MIT |
| 0.3.12 | 6 months ago | 56 KB | MIT |
| 0.3.11 | 7 months ago | 56 KB | MIT |
| 0.3.10 | 8 months ago | 39 KB | MIT |
| 0.3.9 | 8 months ago | 37 KB | MIT |
| 0.3.8 | 10 months ago | 35 KB | MIT |
| 0.3.7 | 10 months ago | 34 KB | MIT |
| 0.3.6 | 11 months ago | 34 KB | MIT |
| 0.3.5 | 1 year ago | 34 KB | MIT |
| 0.3.4 | 1 year ago | 34 KB | MIT |
Overview
ast-v8-to-istanbul is an npm package that aST-aware v8-to-istanbul. It is extremely widely used, with about 23.2M downloads per week and 1 known dependents in the graph. The latest version is 1.0.6, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need aST-aware v8-to-istanbul and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (23.2M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (31 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use ast-v8-to-istanbul?
Yes — ast-v8-to-istanbul scores well across adoption, maintenance, weight, supply chain, and licensing. 23.2M downloads per week and 1 known dependents. Last published 2 days ago. 29 releases in the last 2 years.
How do I install ast-v8-to-istanbul?
Run `npm install ast-v8-to-istanbul` to add ast-v8-to-istanbul to your npm project.
How many dependencies does ast-v8-to-istanbul have?
ast-v8-to-istanbul declares 31 direct dependencies and pulls in 6 packages in total once its runtime tree is resolved totalling about 389 KB on disk.
What license is ast-v8-to-istanbul released under?
ast-v8-to-istanbul is distributed under the MIT license.
How popular is ast-v8-to-istanbul?
ast-v8-to-istanbul has approximately 23,240,433 downloads per week and 1 known dependent packages.
Is ast-v8-to-istanbul still maintained?
The most recent release of ast-v8-to-istanbul (v1.0.6) was published 2 days ago.
Does ast-v8-to-istanbul run install scripts?
No. ast-v8-to-istanbul does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.