pinyin_index

A fast Chinese characters to pinyins conversion/romanization tool for indexing use.

pinyin_index

A fast Chinese characters to pinyins conversion/romanization tool for indexing use.

var pinyin_index = require('pinyin_index');
pinyin_index('天生我材必有用,千金散尽还复来。')
// => 
// { full: 'tianshengwocaibiyouyong,qianjinsanjinhuanfulai。',
//   abbr: 'tswcbyy qjsjhfl' }

LICENSE: MIT
Developer: caiguanhao <caiguanhao@gmail.com>