UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

17 lines (16 loc) 478 B
import { Document } from '../../data'; import { Config } from '../../config'; import { Logger } from '../../debug'; export type MXLParserOptions = { config?: Partial<Config>; logger?: Logger; }; /** Parses an MXL blob. */ export declare class MXLParser { private config; private log; constructor(opts?: MXLParserOptions); parse(blob: Blob): Promise<Document>; /** Returns the MusicXML document as a string. */ raw(blob: Blob): Promise<string>; }