UNPKG

@types/globalyzer

Version:
41 lines (34 loc) 1.15 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globalyzer/index.d.ts) ````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](https://github.com/peterblazejewicz).