# @types/lodash-match-pattern

> TypeScript definitions for lodash-match-pattern

Latest version **2.3.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/lodash-match-pattern
pnpm add @types/lodash-match-pattern
yarn add @types/lodash-match-pattern
bun add @types/lodash-match-pattern
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.3.5 |
| Published | 2025-10-24 |
| First published | 2023-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.3.5 (latest) — 2025-10-24
- 2.3.4 (ts5.0) — 2025-02-25
- 2.3.3 (ts4.7) — 2023-11-07
- 2.3.1 (ts4.3) — 2023-08-30
- 2.3.2 — 2023-10-18
- 2.3.0 — 2023-06-28

## README

# Installation
> `npm install --save @types/lodash-match-pattern`

# Summary
This package contains type definitions for lodash-match-pattern (https://github.com/mjhm/lodash-match-pattern#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash-match-pattern.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash-match-pattern/index.d.ts)
````ts
import _ = require("lodash");

declare module "lodash" {
    interface LoDashStatic {
        isDateString(s: any): boolean;
        isSize(s: any, n: any): boolean;
        isOmitted: any;
        isDefined(s: any): boolean;
        isPrinted(s: any, label: any): boolean;
        filterPattern(s: any, pattern: any): any;
        setMemo(s: any, key: any): any;
        isSetAsMemo(s: any, key: any): boolean;
        getMemoHash(): {};
        isEqualToMemo(s: any, key: any): any;
        isNotEqualToMemo(s: any, key: any): boolean;
        clearMemos(s: any): any;
        extractUrls(s: any): any;
    }
}

declare function matchPattern(sourceData: any, targetPattern: object | string): string | null;
declare namespace matchPattern {
    function use(newLodashModule: _.LoDashStatic): void;
    function getLodashModule(): _.LoDashStatic;
}

export = matchPattern;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/lodash](https://npmjs.com/package/@types/lodash)

# Credits
These definitions were written by [Daniel Kneip](https://github.com/daniel-kneip).

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