Skip to content

peterolson/pinyin-zhuyin

Repository files navigation

pinyin-zhuyin

Package for converting pinyin text to zhuyin/bopomofo text
拼音转换为注音(ㄅㄆㄇㄈ)

Install 安装

npm install pinyin-zhuyin

Usage 使用

import { pinyinToZhuyin } from 'pinyin-zhuyin';
console.log(pinyinToZhuyin('Wǒ bùshì měiguó rén. Tā shì měiguó rén.'));
// ㄨㄛˇ ㄅㄨˋㄕˋ ㄇㄟˇㄍㄨㄛˊ ㄖㄣˊ. ㄊㄚ ㄕˋ ㄇㄟˇㄍㄨㄛˊ ㄖㄣˊ.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published