Installation
npm install --save @types/require-dir
Summary
This package contains type definitions for require-dir (https://github.com/aseemk/requireDir).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir.
interface options {
recurse?: boolean | undefined;
duplicates?: boolean | undefined;
extensions?: string[] | undefined;
filter?: any;
mapKey?: any;
mapValue?: any;
}
declare function requireDir(directory: string, options?: options): { [path: string]: any };
export = requireDir;
Additional Details
- Last updated: Wed, 18 Oct 2023 11:45:06 GMT
- Dependencies: none
Credits
These definitions were written by weekens.