Socket
Book a DemoInstallSign in
Socket

@gitbook/pinyin-pro

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbook/pinyin-pro

GitBook's fork of pinyin-pro, a fantastic open-source package for turning Chinese characters to pinyin.

latest
Source
npmnpm
Version
3.26.0-gitbook4
Version published
Weekly downloads
730
1203.57%
Maintainers
6
Weekly downloads
 
Created
Source

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.

Keywords

拼音

FAQs

Package last updated on 06 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts