Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

@vitest/coverage-istanbul

Package Overview
Dependencies
Maintainers
5
Versions
205
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

latest
Source
npmnpm
Version
4.1.4
Version published
Weekly downloads
1.9M
4.61%
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 09 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts