# @types/graphql-depth-limit

> TypeScript definitions for graphql-depth-limit

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

## Install

```sh
npm install @types/graphql-depth-limit
pnpm add @types/graphql-depth-limit
yarn add @types/graphql-depth-limit
bun add @types/graphql-depth-limit
```

## 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.1.6 |
| Published | 2023-11-07 |
| First published | 2018-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [graphql](https://npm.io/package/graphql.md) ^14.5.3

## Recent versions

- 1.1.6 (latest) — 2023-11-07
- 1.1.3 (ts3.7) — 2021-09-11
- 1.1.2 (ts2.8) — 2019-08-26
- 1.1.5 — 2023-10-18
- 1.1.4 — 2023-10-10
- 1.1.1 — 2019-08-23
- 1.1.0 — 2018-05-08

## README

# Installation
> `npm install --save @types/graphql-depth-limit`

# Summary
This package contains type definitions for graphql-depth-limit (https://github.com/stems/graphql-depth-limit#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-depth-limit.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-depth-limit/index.d.ts)
````ts
declare function depthLimit(depthLimit: number, options?: depthLimit.Options, callback?: (obj: any) => void): any;
export = depthLimit;

declare namespace depthLimit {
    interface Options {
        ignore?: Array<string | RegExp | ((queryDepths: any[]) => boolean)>;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [graphql](https://npmjs.com/package/graphql)

# Credits
These definitions were written by [Siim Tiilen](https://github.com/eritikass).

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