# @types/glob-expand

> TypeScript definitions for glob-expand

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

## Install

```sh
npm install @types/glob-expand
pnpm add @types/glob-expand
yarn add @types/glob-expand
bun add @types/glob-expand
```

## 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; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.37 |
| Published | 2025-10-24 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/glob](https://npm.io/package/@types/glob.md) ~5.0.36

## Recent versions

- 0.0.37 (latest) — 2025-10-24
- 0.0.36 (ts4.5) — 2023-11-21
- 0.0.33 (ts4.3) — 2023-04-12
- 0.0.32 (ts3.6) — 2021-07-08
- 0.0.31 (ts3.4) — 2017-08-21
- 0.0.35 — 2023-11-07
- 0.0.34 — 2023-10-18
- 0.0.30 — 2016-09-19
- 0.0.29 — 2016-07-14
- 0.0.28-alpha — 2016-07-08
- 0.0.26-alpha — 2016-07-04
- 0.0.25-alpha — 2016-07-02
- 0.0.24-alpha — 2016-07-01
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/glob-expand/versions

## README

# Installation
> `npm install --save @types/glob-expand`

# Summary
This package contains type definitions for glob-expand (https://github.com/anodynos/node-glob-expand).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/glob-expand.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/glob-expand/index.d.ts)
````ts
/// <reference types="glob"/>

import glob = require("glob");

interface Option {
    filter?: string | ((filePath: string) => boolean) | undefined;
    cwd?: string | undefined;
}

type _glob = typeof glob;
declare namespace expand {
    var glob: _glob;
    var VERSION: string;
}

declare function expand(opts: Option, patterns: Array<string | RegExp>): string[];
declare function expand(opts: Option, ...patterns: Array<string | RegExp>): string[];
declare function expand(patterns: Array<string | RegExp>): string[];
declare function expand(...patterns: Array<string | RegExp>): string[];

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

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