Get tone(pinyin) of Chinese character.
$ npm install mini-pinyin --save
var pinyin = require('mini-pinyin');
console.log(pinyin('你')); // [ 'nǐ' ]
console.log(pinyin('好')); // [ 'hǎo', 'hào' ]
console.log(pinyin('你好')); // []
console.log(pinyin('!')); // []
MIT