chinese_pinyin
v1.0.5
Published
Convert a Chinese String (e.g. Address) to Pinyin
Readme
chinese_pinyin
Node JS Library to Convert Chinese to Pinyin
Installation
npm install chinese_pinyinUsage
var pinyin = require('chinese_pinyin');
console.log(pinyin("你好,我是 @aaa"));Output:
"ni hao ,wo shi @aaa"Tests
npm testOnline Tool
You may also like this tool.
Contributing
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
