hanzi-to-pinyin
v1.86.0
Published
Convert Hanzi to Pinyin with tone marks or tone numbers
Downloads
70
Maintainers
Readme
Hanzi to Pinyin
Install
npm install hanzi-to-pinyin
Usage
const convert = require('hanzi-to-pinyin')
convert('我的猫喜欢吃苹果')
.then(console.log)
// [ ['wǒ'], ['de','dī','dí','dì'], ['māo'], ['xǐ huan'], ['chī'], ['píng guǒ'] ]
Related
pinyin-utils
pinyin-split
find-hanzi
hsk-words
cedict
mdbg
pinyin-or-hanzi
pinyin-convert
pinyin-rest
pinyin-api
pinyin-bot-core
pinyin-telegram
pinyin-messenger
pinyin-line
pinyin-chrome
pinyin-cli
hanzi-cli
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.