UNPKG

putout

Version:

🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json

16 lines (13 loc) 352 B
import {transform, transformAsync} from './transform.js'; export const findPlaces = (ast, source, opts) => { return transform(ast, source, { ...opts, fix: false, }); }; export const findPlacesAsync = async (ast, source, opts) => { return await transformAsync(ast, source, { ...opts, fix: false, }); };