wl-pinyin

1.0.1 • Public • Published

wl-pinyin

js汉字转拼音库, 只对小程序有效。

安装

npm i wl-pinyin

使用

import p from "wl-pinyin";
 
p.getPinyin("你好") // ni hao
p.getFirstLetter("你好") // NH

Package Sidebar

Install

npm i wl-pinyin

Weekly Downloads

19

Version

1.0.1

License

ISC

Unpacked Size

113 kB

Total Files

12

Last publish

Collaborators

  • wang_mu_mu