Normal People, MMM!

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

    1.0.2 • 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

    // Type definitions for require-dir 1.0
    // Project: https://github.com/aseemk/requireDir
    // Definitions by: weekens <https://github.com/weekens>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    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: Thu, 08 Jul 2021 22:42:00 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by weekens.

    Keywords

    none

    Install

    npm i @types/require-dir

    DownloadsWeekly Downloads

    42,062

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • types