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

0.0.2 • Public • Published

Installation

npm install --save @types/walk-asyncgen

Summary

This package contains type definitions for walk-asyncgen (https://bitbucket.org/ShoemakerSteve/walk-asyncgen).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/walk-asyncgen.

index.d.ts

interface Options {
    /**
     * A regex of which directories to exclude.
     */
    excludeDirs?: false | RegExp;
    /**
     * A regex of which files to exclude.
     */
    excludeFiles?: false | RegExp;
    /**
     * A regex of which extensions to exclude.
     */
    excludeExt?: false | RegExp;
    /**
     * A regex of which directories to include. If provided, only directories matching this regex will be walked.
     */
    includeDirs?: false | RegExp;
    /**
     * A regex of which files to include. If provided, only files matching this regex will be walked.
     */
    includeFiles?: false | RegExp;
    /**
     * A regex of which extensions to include. If provided, only files with extensions matching this regex will be walked.
     */
    includeExt?: false | RegExp;
    /**
     * Whether to print the directory that is initially walked.
     */
    printDirs?: boolean;
}

/**
 * Walk a directory asynchronously and returns every file found.
 * @param dir The directory to start at. Defaults to the current working directory.
 * @param options Optional settings for the walk.
 */
declare function pathsGenerator(dir?: string, options?: Options): AsyncGenerator<string, void, void>;

export = pathsGenerator;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by PythonCoderAS.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.00ts3.8
0.0.00ts3.9
0.0.00ts4.0
0.0.00ts4.1
0.0.00ts4.2
0.0.00ts4.3
0.0.00ts4.4
0.0.22ts5.7
0.0.22ts5.6
0.0.22latest
0.0.22ts4.5
0.0.22ts4.6
0.0.22ts4.7
0.0.22ts4.8
0.0.22ts4.9
0.0.22ts5.0
0.0.22ts5.1
0.0.22ts5.2
0.0.22ts5.3
0.0.22ts5.4
0.0.22ts5.5
0.0.22ts5.8

Version History

VersionDownloads (Last 7 Days)Published
0.0.22
0.0.11
0.0.00

Package Sidebar

Install

npm i @types/walk-asyncgen

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

5.07 kB

Total Files

5

Last publish

Collaborators

  • types