UNPKG

astx

Version:

super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

17 lines (16 loc) 472 B
import Gitignore from 'gitignore-fs'; import { Minimatch } from 'minimatch'; import { Fs } from './glob'; export declare type AstxGlobOptions = { include?: string; exclude?: string; includeMatcher?: Minimatch; excludeMatcher?: Minimatch; gitignore?: Gitignore | null; cwd?: string; fs?: Fs; visited?: Set<string>; nodir?: boolean; dot?: boolean; }; export default function astxGlob(options: AstxGlobOptions): AsyncIterable<string>;