pinyin-firstletter

1.0.2 • Public • Published

pinyin-firstletter

获取汉字首字母

Install

npm i pinyin-firstletter -S

pinyin_dict_firstletter 字典文件

用法

    import getFirstLetter from 'pinyin-firstletter'
    getFirstLetter('苹果'); // PG

Readme

Keywords

Package Sidebar

Install

npm i pinyin-firstletter

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

38.6 kB

Total Files

5

Last publish

Collaborators

  • wayshon