• Version 2.0.4
  • Published
  • 4.84 kB
  • No dependencies
  • MIT license


npm i @types/bash-glob
yarn add @types/bash-glob
pnpm add @types/bash-glob


TypeScript definitions for bash-glob



function bashGlob

bashGlob: typeof bashGlob;

    function each

    each: {
    (patterns: Patterns, callback: Callback): void;
    (patterns: Patterns, options: Options, callback: Callback): void;

      function on

      on: {
      (event: 'match' | 'files', callback: (files: string, cwd: string) => void): void;
      (event: 'end', callback: (files: string) => void): void;

        function promise

        promise: (patterns: Patterns, options?: Options) => Promise<string[]>;

          function sync

          sync: (patterns: Patterns, options?: Options) => string[];


            interface Options

            interface Options {}

              property cwd

              cwd?: string | undefined;

                property dot

                dot?: boolean | undefined;

                  property dotglob

                  dotglob?: boolean | undefined;

                    property extglob

                    extglob?: boolean | undefined;

                      property failglob

                      failglob?: boolean | undefined;

                        property globstar

                        globstar?: boolean | undefined;

                          property nocase

                          nocase?: boolean | undefined;

                            property nocaseglob

                            nocaseglob?: boolean | undefined;

                              property nullglob

                              nullglob?: boolean | undefined;

                                Package Files (1)

                                Dependencies (0)

                                No dependencies.

                                Dev Dependencies (0)

                                No dev dependencies.

                                Peer Dependencies (0)

                                No peer dependencies.


                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/bash-glob.

                                • Markdown
                                • HTML
                                  <a href="https://www.jsdocs.io/package/@types/bash-glob"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>