# @types/chai-json-schema

> TypeScript definitions for chai-json-schema

Latest version **1.4.10** (published 2024-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/chai-json-schema
pnpm add @types/chai-json-schema
yarn add @types/chai-json-schema
bun add @types/chai-json-schema
```

## 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.4.10 |
| Published | 2024-03-01 |
| First published | 2016-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51434 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 1.4.10 (latest) — 2024-03-01
- 1.4.9 (ts4.5) — 2023-11-07
- 1.4.7 (ts4.3) — 2023-09-04
- 1.4.6 (ts3.0) — 2020-05-15
- 1.4.4 (ts2.0) — 2019-02-13
- 1.4.8 — 2023-10-17
- 1.4.5 — 2019-08-08
- 1.4.3 — 2017-03-24
- 1.4.2 — 2017-01-30
- 1.4.1 — 2017-01-05
- 1.4.0 — 2016-12-29

## README

# Installation
> `npm install --save @types/chai-json-schema`

# Summary
This package contains type definitions for chai-json-schema (https://github.com/chaijs/chai-json-schema/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-json-schema.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-json-schema/index.d.ts)
````ts
// <reference types="chai" />
import tv4 = require("tv4");

declare global {
    namespace Chai {
        interface Assert {
            jsonSchema(value: any, schema: any, msg?: string): void;
            notJsonSchema(value: any, schema: any, msg?: string): void;
        }

        interface LanguageChains {
            jsonSchema(schema: any, msg?: string): void;
        }

        interface ChaiStatic {
            tv4: tv4.TV4;
        }
    }
}

declare const chaiJsonSchema: Chai.ChaiPlugin;
declare namespace chaiJsonSchema {}
export = chaiJsonSchema;

````

### Additional Details
 * Last updated: Fri, 01 Mar 2024 00:50:47 GMT
 * Dependencies: [@types/chai](https://npmjs.com/package/@types/chai), [@types/tv4](https://npmjs.com/package/@types/tv4)

# Credits
These definitions were written by [Ulrich Heiniger](https://github.com/ulrichheiniger).

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