0.0.4 • Published 1 year ago

@cicara/tiny-pinyin v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

tiny-pinyin

This is a lightweight Chinese character-to-pinyin library that I currently use in conjunction with slug.

Polyphonic characters and tones are not supported.

pnpm add @cicara/tiny-pinyin
import pinyin from "@cicara/tiny-pinyin";

pinyin.convertToPinyin("安装和使用", " "); // an zhuang he shi yong
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago