@gitbook/pinyin-pro
TypeScript icon, indicating that this package has built-in type declarations

3.26.0-gitbook4 • Public • Published

pinyin-pro

zh-lx maintains a fantastic library for converting traditional Chinese characters to pinyin. GitBook uses this library for our users who write in hànzì, to turn their docs into URLs. We've forked pinyin-pro simply to optimize performance slightly. GitBook runs pinyin-pro inside Cloudflare Workers, where start-up time is very important. So we made this fork to make optimizations around when the languages are loaded into memory. We try to keep this up-to-date with upstream.

Package Sidebar

Install

npm i @gitbook/pinyin-pro

Weekly Downloads

1,446

Version

3.26.0-gitbook4

License

MIT

Unpacked Size

923 kB

Total Files

34

Last publish

Collaborators

  • gitbook-bot
  • samypesse
  • jpreynat
  • emmerich
  • taranvohra
  • neoziro