@types/require-dir
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

index.d.ts

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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by weekens.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/require-dir

Weekly Downloads

11,623

Version

1.0.4

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types