UNPKG

904 BMarkdownView Raw
1# Installation
2> `npm install --save @types/require-dir`
3
4# Summary
5This package contains type definitions for require-dir (https://github.com/aseemk/requireDir).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir/index.d.ts)
10````ts
11interface options {
12 recurse?: boolean | undefined;
13 duplicates?: boolean | undefined;
14 extensions?: string[] | undefined;
15 filter?: any;
16 mapKey?: any;
17 mapValue?: any;
18}
19
20declare function requireDir(directory: string, options?: options): { [path: string]: any };
21
22export = requireDir;
23
24````
25
26### Additional Details
27 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
28 * Dependencies: none
29
30# Credits
31These definitions were written by [weekens](https://github.com/weekens).
32
\No newline at end of file