# @types/matchdep

> TypeScript definitions for matchdep

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

## Install

```sh
npm install @types/matchdep
pnpm add @types/matchdep
yarn add @types/matchdep
bun add @types/matchdep
```

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

## Links

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

## Recent versions

- 2.0.3 (latest) — 2023-11-07
- 2.0.0 (ts2.8) — 2020-03-27
- 2.0.2 — 2023-10-18
- 2.0.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/matchdep`

# Summary
This package contains type definitions for matchdep (https://github.com/tkellen/js-matchdep).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/matchdep/index.d.ts)
````ts
declare namespace matchdep {
    type FilterConfig = string | object;
    type FilterFunction = (pattern: string | string[], config?: FilterConfig) => string[];
}

declare const matchdep: {
    readonly filter: matchdep.FilterFunction;
    readonly filterDev: matchdep.FilterFunction;
    readonly filterPeer: matchdep.FilterFunction;
    readonly filterAll: matchdep.FilterFunction;
};

export = matchdep;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [tpluscode](https://github.com/tpluscode).

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