UNPKG

sucrase

Version:

Super-fast alternative to Babel for when you can target modern JS runtimes

6 lines (5 loc) 190 B
export declare type Options = { transforms?: Array<'jsx' | 'imports'>; babylonPlugins?: Array<string>; }; export declare function transform(code: string, options?: Options): string;