1.0.5 • Published 5 years ago
chinese_pinyin v1.0.5
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