README
convert-chinese-to-pinyin
把中文转化成拼音
Install
npm install convert-chinese-to-pinyin
Usage
var convert = require('convert-chinese-to-pinyin');
convert('中文转化成拼音'); //output: ZhongWenZhuanHuaChengPinYin
convert-chinese-to-pinyin
<script type="module">
import convertChineseToPinyin from 'https://cdn.skypack.dev/convert-chinese-to-pinyin';
</script>
把中文转化成拼音
npm install convert-chinese-to-pinyin
var convert = require('convert-chinese-to-pinyin');
convert('中文转化成拼音'); //output: ZhongWenZhuanHuaChengPinYin