# @types/string.prototype.matchall

> TypeScript definitions for string.prototype.matchall

Latest version **4.0.4** (published 2023-12-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/string.prototype.matchall
pnpm add @types/string.prototype.matchall
yarn add @types/string.prototype.matchall
bun add @types/string.prototype.matchall
```

## 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 | 4.0.4 |
| Published | 2023-12-04 |
| First published | 2020-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51428 |
| Maintainers | types |

## Links

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

## Recent versions

- 4.0.4 (latest) — 2023-12-04
- 4.0.3 (ts4.5) — 2023-11-07
- 4.0.1 (ts3.8) — 2021-12-01
- 4.0.0 (ts3.2) — 2020-10-12
- 4.0.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/string.prototype.matchall`

# Summary
This package contains type definitions for string.prototype.matchall (https://github.com/ljharb/String.prototype.matchAll#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string.prototype.matchall.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string.prototype.matchall/index.d.ts)
````ts
/**
 * Matches a string with a regular expression, and returns an iterable of matches
 * containing the results of that search.
 * @param str string to match
 * @param regexp A variable name or string literal containing the regular expression pattern and flags.
 */
declare function matchAll(str: string, regexp: string | RegExp): IterableIterator<RegExpExecArray>;

declare namespace matchAll {
    function shim(): void;
}

export = matchAll;

````

### Additional Details
 * Last updated: Mon, 04 Dec 2023 16:07:52 GMT
 * Dependencies: none

# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).

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