Skip to content
/ pinyin Public
forked from huntbao/pinyin

汉字转拼音,浏览器端实现,兼容 Chrome、Firefox、Safari 等浏览器,支持 20892 个基本汉字

License

Notifications You must be signed in to change notification settings

Moonvy/pinyin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinyin

无字典的汉字转拼音方案,保证浏览器端最小体积 (12k),但不支持多音字)。

fork 自 https://github.com/huntbao/pinyin

差别:

  • 迁移到 Typescript
  • 更合适的正则汉字范围判断
  • 只返回拼音(忽略非中文)的可选项

About

汉字转拼音,浏览器端实现,兼容 Chrome、Firefox、Safari 等浏览器,支持 20892 个基本汉字

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 50.3%
  • JavaScript 49.7%