# @types/karma-json-preprocessor

> TypeScript definitions for karma-json-preprocessor

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

## Install

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

## 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.3.4 |
| Published | 2023-11-07 |
| First published | 2020-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.3.4 (latest) — 2023-11-07
- 0.3.1 (ts3.6) — 2021-07-08
- 0.3.0 (ts3.2) — 2020-03-02
- 0.3.3 — 2023-10-18
- 0.3.2 — 2023-09-14

## README

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

declare module "karma" {
    interface ConfigOptions {
        /**
         * see {@link https://github.com/mjeanroy/karma-json-preprocessor#configuration-1}
         */
        jsonPreprocessor?: JsonPreprocessorOptions | undefined;
    }

    /**
     * Default global variable name is by default `__json__`,
     * but you can override it with your own name in karma configuration:
     */
    interface JsonPreprocessorOptions {
        /**
         * @default '__json__'
         */
        varName?: string | undefined;
        /**
         * @default ''
         */
        stripPrefix?: string | undefined;
    }
}

````

### 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-json-preprocessor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
