UNPKG

gex

Version:

Glob expressions for JavaScript

20 lines (19 loc) 496 B
declare class Gexer { gexmap: { [key: string]: RegExp; }; desc: string; constructor(gexspec: string | string[]); dodgy(obj: any): boolean; clean(gexexp: any): string; match(str: any): boolean; on(obj: any): any; esc(gexexp: any): string; escregexp(restr: string): string; re(gs: string): RegExp | any; toString(): string; inspect(): string; } declare function Gex(gexspec: string | string[]): Gexer; export default Gex; export { Gex };