Skip to content

pepebecker/hanzi-to-zhuyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanzi to Zhuyin

npm version Travis Build Status Greenkeeper badge dependency status dev dependency status ISC-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.

Releases

No releases published

Packages

No packages published