A tool that converts Hanyu pinyin tone numbers to tone marks.
$ npm install pinyinize --save
var pinyinize = require('pinyinize');
pinyinize('ma1 ma2 ma3 ma4 ma'); // returns 'mā má mǎ mà ma'
$ npm install -g mocha
$ npm test
MIT © Eric Nishio
A tool that converts Hanyu pinyin tone numbers to tone marks.
$ npm install pinyinize --save
var pinyinize = require('pinyinize');
pinyinize('ma1 ma2 ma3 ma4 ma'); // returns 'mā má mǎ mà ma'
$ npm install -g mocha
$ npm test
MIT © Eric Nishio