README
chinese2pinyin
To fast start a typescript library.
Getting started
scripts
npm run buildbuilds the library tolib.npm run build:typebuilds.d.tsfile for the library.npm run testusejestto test the source files.
汉字转换拼音(首字母)
<script type="module">
import convert2pinyin from 'https://cdn.skypack.dev/convert2pinyin';
</script>
To fast start a typescript library.
npm run build builds the library to lib.npm run build:type builds .d.ts file for the library.npm run test use jest to test the source files.