astx
Version:
super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
16 lines (15 loc) • 1.21 kB
TypeScript
export { default as Astx, type Transform, type TransformFunction, type TransformOptions, type TransformResult, type ParsePattern, type GetReplacement, } from './Astx';
export { default as find, type Match, type FindOptions } from './find';
export { default as compileMatcher, type CompiledMatcher, } from './compileMatcher';
export { default as replace, type ReplaceOptions } from './replace';
export { default as compileReplacement, type CompiledReplacement, } from './compileReplacement';
export { type Backend } from './backend/Backend';
export { type NodePath, type Node, type Expression, type Statement, type Location, type File, } from './types';
export { default as getBabelAutoBackend } from './babel/getBabelAutoBackend';
export { default as getBabelBackend } from './babel/getBabelBackend';
export { default as BabelBackend } from './babel/BabelBackend';
export { default as getRecastBackend } from './recast/getRecastBackend';
export { default as RecastBackend } from './recast/RecastBackend';
export { default as CodeFrameError } from './util/CodeFrameError';
export { default as CompilePathError } from './util/CompilePathError';
export { type AstxConfig, AstxConfigType } from './AstxConfig';