New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@vitest/coverage-istanbul

Package Overview
Dependencies
Maintainers
5
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/coverage-istanbul

Istanbul coverage provider for Vitest

Source
npmnpm
Version
5.0.1
Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

@vitest/coverage-istanbul

NPM version

Vitest coverage provider that instruments code coverage via istanbul.

Installation

After installing the package, specify istanbul in the coverage.provider field of your Vitest configuration:

// vitest.config.ts
import { defineConfig } from 'vitest/config'

export default defineConfig({
  test: {
    coverage: {
      provider: 'istanbul',
    },
  },
})

Then run Vitest with coverage:

npx vitest --coverage

GitHub | Documentation

Keywords

vite

FAQs

Package last updated on 15 Sep 2026

Related posts