brace-expansion
Version:
Brace expansion as known from sh/bash
12 lines • 454 B
TypeScript
export declare const EXPANSION_MAX = 100000;
export declare const EXPANSION_MAX_LENGTH = 4000000;
export declare const EXPANSION_MAX_DEPTH = 1000;
export declare const EXPANSION_MAX_REWRITES = 1000;
export type BraceExpansionOptions = {
max?: number;
maxLength?: number;
maxDepth?: number;
maxRewrites?: number;
};
export declare function expand(str: string, options?: BraceExpansionOptions): string[];
//# sourceMappingURL=index.d.ts.map