meriyah
Version:
A 100% compliant, self-hosted javascript parser with high focus on both performance and stability
9 lines (8 loc) • 466 B
TypeScript
import { type Program } from './estree';
import { type Options } from './options';
declare const version: string;
export declare function parseScript(source: string, options?: Omit<Options, 'sourceType'>): Program;
export declare function parseModule(source: string, options?: Omit<Options, 'sourceType'>): Program;
export declare function parse(source: string, options?: Options): Program;
export { type Options, version };
export type * as ESTree from './estree';