# @types/karma-mocha

> TypeScript definitions for karma-mocha

Latest version **1.3.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/karma-mocha
pnpm add @types/karma-mocha
yarn add @types/karma-mocha
bun add @types/karma-mocha
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.3.4 |
| Published | 2023-11-07 |
| First published | 2020-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/karma](https://npm.io/package/@types/karma.md) *

## Recent versions

- 1.3.4 (latest) — 2023-11-07
- 1.3.1 (ts3.6) — 2021-07-08
- 1.3.0 (ts3.2) — 2020-02-14
- 1.3.3 — 2023-10-18
- 1.3.2 — 2023-09-14

## README

# Installation
> `npm install --save @types/karma-mocha`

# Summary
This package contains type definitions for karma-mocha (https://github.com/karma-runner/karma-mocha#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-mocha.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-mocha/index.d.ts)
````ts
import "karma";

declare module "karma" {
    interface ClientOptions {
        mocha?: MochaClientOptions | undefined;
    }

    interface MochaClientOptions {
        /** This will be exposed in a reporter as `result.mocha.{exportedValue}` */
        export?: string[] | undefined;
        /** You can set opts to equal true then plugin will load opts from default location 'test/mocha.opts' */
        opts?: true | string | undefined;
        /** any supported Mocha configuration options */
        [key: string]: any;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/karma](https://npmjs.com/package/@types/karma)

# Credits
These definitions were written by [Piotr Błażejewicz (Peter Blazejewicz)](https://github.com/peterblazejewicz).

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