convert2pinyin

汉字转换拼音(首字母)

Usage no npm install needed!

<script type="module">
  import convert2pinyin from 'https://cdn.skypack.dev/convert2pinyin';
</script>

README

chinese2pinyin

To fast start a typescript library.

Getting started

scripts

  • 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.

License

MIT