@gitbook/pinyin-pro
Version:
GitBook's fork of pinyin-pro, a fantastic open-source package for turning Chinese characters to pinyin.
10 lines (9 loc) • 471 B
TypeScript
export { getInitialAndFinal, getFinalParts, getNumOfTone } from './core/pinyin/handle';
export { pinyin } from './core/pinyin';
export { customPinyin, clearCustomDict } from './core/custom';
export { addDict, removeDict } from './core/dict';
export { match } from './core/match';
export { html } from './core/html';
export { polyphonic } from './core/polyphonic';
export { convert } from './core/convert';
export { segment, OutputFormat } from './core/segment';