1.0.4 • Published 6 months ago

@types/dir-walker-gen v1.0.4

Weekly downloads
19
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/dir-walker-gen

Summary

This package contains type definitions for dir-walker-gen (https://github.com/vsoneji/dir-walker-gen).

Details

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

index.d.ts

// Type definitions for dir-walker-gen 1.0
// Project: https://github.com/vsoneji/dir-walker-gen
// Definitions by: Shavkat Aynurin <https://github.com/aynurin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function DirGen(
    options: {
        /**
         * (Required) List of starting folders
         */
        folders: string[],
        /**
         * Does not show console warning when directories do not exist
         * @default {false}
         */
        silent?: boolean | undefined,
        /**
         * Ignores directories that start with a dot (e.g. .git, .vscode, etc)
         * @default {false}
         */
        ignoreDotDir?: boolean | undefined,
        /**
         * Exclude all folder that ends with any of the given strings
         * @default []
         */
        excludeFolders?: string[] | undefined,
        /**
         * List of extensions to ignore
         * @default []
         */
        excludeExtensions?: string[] | undefined,
        /**
         * List of extensions to scan (all other extensions are ignored)
         * @default []
         */
        includeExtensions?: string[] | undefined
    },
): IterableIterator<string>;

export = DirGen;

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:43 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Shavkat Aynurin.

1.0.2

8 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.1

3 years ago

1.0.0

5 years ago