zh_cn_zh_tw
v1.0.7
Published
NodeJs Library to convert between Simplified Chinese (zh-cn) and Traditional Chinese (zh-tw)
Downloads
38
Maintainers
Readme
zh_cn_zh_tw
NodeJs Library to convert between Simplified Chinese (zh-cn) and Traditional Chinese (zh-tw)
Installation
npm install zh_cn_zh_tw
Usage
var convertor = require('zh_cn_zh_tw');
var zh_cn = convertor.convertToSimplifiedChinese;
var zh_tw = convertor.convertToTraditionalChinese;
console.log(zh_cn("夢")); // convert to 梦
console.log(zh_tw("梦")); // convert to 夢
Tests
npm test
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