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

0.1.3 • Public • Published

Installation

npm install --save @types/globalyzer

Summary

This package contains type definitions for globalyzer (https://github.com/terkelg/globalyzer#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globalyzer.

index.d.ts

/**
 * Detect and extract the static part of a glob string.
 * Utility to detect if a string contains a glob and then split it in a glob and none-glob part.
 * @param pattern - Glob string to analyze
 */
declare function globalyzer(
    glob: string,
    options?: {
        /**
         * Use strict parsing (be strict about what's a glob and what's not)
         * @default false
         */
        strict?: boolean | undefined;
    },
): {
    base: string;
    glob: string;
    isGlob: boolean;
};

export = globalyzer;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/globalyzer

Weekly Downloads

5,332

Version

0.1.3

License

MIT

Unpacked Size

3.64 kB

Total Files

5

Last publish

Collaborators

  • types