hanzi-to-zhuyin

Convert Hanzi to Zhuyin


Keywords
chinese, convert, hanzi, mandarin, zhuyin, hacktoberfest
License
MIT
Install
npm install hanzi-to-zhuyin@1.1.0

Documentation

Hanzi to Zhuyin

npm version Travis Build Status Greenkeeper badge dependency status dev dependency status MIT-licensed chat on gitter

Install

npm install hanzi-to-zhuyin

Usage

const convert = require('hanzi-to-zhuyin')
convert('我的猫喜欢吃苹果')
.then(console.log)
// [ 'ㄨㄛˇ ', [ 'ㄉㄜ˙', 'ㄉㄧ', 'ㄉㄧˊ', 'ㄉㄧ`' ], ' ㄇㄠ ㄒㄧˇ ㄏㄨㄢ˙ ㄔ ㄆㄧㄥˊ ㄍㄨㄛˇ' ]

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.