convert-chinese-to-pinyin

convert-chinese-to-pinyin

Usage no npm install needed!

<script type="module">
  import convertChineseToPinyin from 'https://cdn.skypack.dev/convert-chinese-to-pinyin';
</script>

README

convert-chinese-to-pinyin

把中文转化成拼音

Install

npm install convert-chinese-to-pinyin

Usage


var convert = require('convert-chinese-to-pinyin');

convert('中文转化成拼音'); //output: ZhongWenZhuanHuaChengPinYin