npm.io
0.1.3 • Published 2 years ago

@types/globalyzer

Licence
MIT
Version
0.1.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0337 GMT
  • Dependencies: none

Credits

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