@types/dir-glob

TypeScript definitions for dir-glob

  • Types
  • ESM
  • CJS
License
MIT
Deps
0
Install Size
3.3 kB
Vulns
0
Published

Get started

$npm install @types/dir-glob
$pnpm add @types/dir-glob
$yarn add @types/dir-glob
$bun add @types/dir-glob
$deno add npm:@types/dir-glob
$vlt install @types/dir-glob
$vp add @types/dir-glob
# Usually installed as a dev dependency
$npm install -D @types/dir-glob
$pnpm add -D @types/dir-glob
$yarn add -D @types/dir-glob
$bun add -d @types/dir-glob
$deno add -D npm:@types/dir-glob
$vlt install -D @types/dir-glob
$vp add -D @types/dir-glob

Weekly DownloadsAcross all versions

Versions

View all versions
2.0.3
latestts4.5ts4.6ts4.7ts4.8ts4.9ts5.0ts5.1ts5.2ts5.3ts5.4ts5.5ts5.6ts5.7ts5.8ts5.9ts6.0
2.0.1
ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4
2.0.0
ts2.0ts2.1ts2.2ts2.3ts2.4ts2.5ts2.6ts2.7ts2.8ts2.9ts3.0ts3.1ts3.2ts3.3ts3.4ts3.5

Readme

Installation

npm install --save @types/dir-glob

Summary

This package contains type definitions for dir-glob (https://github.com/kevva/dir-glob#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dir-glob.

index.d.ts

export = dirGlob;

declare function dirGlob(input: string | string[], options?: dirGlob.Options): Promise<string[]>;

declare namespace dirGlob {
    function sync(input: string | string[], options?: Options): string[];

    interface Options {
        extensions?: string[] | undefined;
        files?: string[] | undefined;
        cwd?: string | undefined;
    }
}
Additional Details
  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.