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) 320 B
import {transform, transformAsync} from './transform.js'; export const findPlaces = (ast, opts) => { return transform(ast, { ...opts, fix: false, }); }; export const findPlacesAsync = async (ast, opts) => { return await transformAsync(ast, { ...opts, fix: false, }); };