# @types/karma-fixture

> TypeScript definitions for karma-fixture

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

## Install

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

## 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.2.8 |
| Published | 2023-11-07 |
| First published | 2016-09-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.2.8 (latest) — 2023-11-07
- 0.2.5 (ts2.0) — 2018-11-20
- 0.2.7 — 2023-10-18
- 0.2.6 — 2023-09-14
- 0.2.4 — 2018-05-31
- 0.2.3 — 2017-08-21
- 0.2.2 — 2016-10-05
- 0.2.1 — 2016-09-19

## README

# Installation
> `npm install --save @types/karma-fixture`

# Summary
This package contains type definitions for karma-fixture (https://github.com/billtrik/karma-fixture).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-fixture.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/karma-fixture/index.d.ts)
````ts
declare namespace fixture {
    let el: HTMLElement;
    let json: any[];

    function load(...files: string[]): any;
    function load(file1: string, append?: boolean): any;
    function load(file1: string, file2: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, file4: string, append?: boolean): any;
    function load(file1: string, file2: string, file3: string, file4: string, file5: string, append?: boolean): any;

    function set(...htmlStrs: string[]): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, htmlStr2: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(htmlStr1: string, htmlStr2: string, htmlStr3: string, append?: boolean): HTMLElement | HTMLElement[];
    function set(
        htmlStr1: string,
        htmlStr2: string,
        htmlStr3: string,
        htmlStr4: string,
        append?: boolean,
    ): HTMLElement | HTMLElement[];
    function set(
        htmlStr1: string,
        htmlStr2: string,
        htmlStr3: string,
        htmlStr4: string,
        htmlStr5: string,
        append?: boolean,
    ): HTMLElement | HTMLElement[];

    function cleanup(): void;

    function setBase(fixtureBasePath: string): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ezekiel Victor](https://github.com/evictor), and [Afshawn Lotfi](https://github.com/afshawnlotfi).

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