# @types/istanbul

> TypeScript definitions for istanbul

Latest version **0.4.34** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/istanbul
pnpm add @types/istanbul
yarn add @types/istanbul
bun add @types/istanbul
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.34 |
| Published | 2023-11-21 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/istanbul
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul
- npm.io page: https://npm.io/package/@types/istanbul

## Recent versions

- 0.4.34 (latest) — 2023-11-21
- 0.4.30 (ts3.1) — 2018-03-24
- 0.4.33 — 2023-11-07
- 0.4.32 — 2023-10-18
- 0.4.31 — 2023-09-26
- 0.4.29 — 2016-09-19
- 0.4.28 — 2016-07-14
- 0.4.27-alpha — 2016-07-08
- 0.4.26-alpha — 2016-07-04
- 0.4.25-alpha — 2016-07-02
- 0.4.24-alpha — 2016-07-01
- 0.4.23-alpha — 2016-07-01
- 0.4.22-alpha — 2016-05-25
- 0.4.21-alpha — 2016-05-20
- 0.4.16-alpha — 2016-05-19
- … 1 more at https://npm.io/package/@types/istanbul/versions

## README

# Installation
> `npm install --save @types/istanbul`

# Summary
This package contains type definitions for istanbul (https://github.com/gotwarlost/istanbul).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul/index.d.ts)
````ts
declare namespace istanbul {
    interface Istanbul {
        new(options?: any): Istanbul;
        Collector: Collector;
        config: Config;
        ContentWriter: ContentWriter;
        FileWriter: FileWriter;
        hook: Hook;
        Instrumenter: Instrumenter;
        Report: Report;
        Reporter: Reporter;
        Store: Store;
        utils: ObjectUtils;
        VERSION: string;
        Writer: Writer;
    }

    interface Collector {
        new(options?: any): Collector;
        add(coverage: any, testName?: string): void;
        getFinalCoverage(): any;
    }

    interface Config {
    }

    interface ContentWriter {
    }

    interface FileWriter {
    }

    interface Hook {
    }

    interface Instrumenter {
        new(options?: any): Instrumenter;
        instrumentSync(code: string, filename: string): string;
    }

    interface Report {
    }

    interface Configuration {
        new(obj: any, overrides: any): Configuration;
    }

    interface Reporter {
        new(cfg?: Configuration, dir?: string): Reporter;
        add(fmt: string): void;
        addAll(fmts: string[]): void;
        write(collector: Collector, sync: boolean, callback: Function): void;
    }

    interface Store {
    }

    interface ObjectUtils {
    }

    interface Writer {
    }
}

declare var istanbul: istanbul.Istanbul;

export = istanbul;

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
 * Dependencies: none

# Credits
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff).

---
_Source: https://npm.io/package/@types/istanbul · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
