Node JS Library to Convert Chinese to Pinyin
npm install chinese_pinyin
var pinyin = require('chinese_pinyin'); console.log(pinyin("你好，我是 @aaa"));
"ni hao ，wo shi @aaa"
You may also like this tool.
- 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