ctc
v0.1.1
Published
Chinese telegraph code convertor
Downloads
15
Readme
node-ctc
Chinese telegraph code convertor
Installation
$ npm install ctc
Example
var convertor = require('ctc');
var str = '呵呵哒';
console.log(convertor.convert(str))
// => 0725 0725 8174
var convertor = require('ctc');
var str = '0725 0725 8174';
console.log(convertor.convert(str))
// => 呵呵哒
License
MIT © Leigh Zhu