UNPKG

piyin-wasm

Version:

convert Chinese character to pinyin with WebAssembly!

20 lines (19 loc) 280 B
/* tslint:disable */ /** */ export function greet(): void; /** */ export class Pinyin { free(): void; /** * @returns {Pinyin} */ static new(): Pinyin; /** * @param {string} han * @param {number} style * @returns {string} */ covert(han: string, style: number): string; }