Ross ROSS = Recommend OSS · open-source software intelligence for agents

sxei/pinyinjs

一个实现汉字与拼音互转的小巧web工具库,演示地址: observed · 2026-08-28

github.com/sxei/pinyinjs · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3627
  • days_rel: n/a
  • days_push: 1625
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2760 stars · 790 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small JavaScript library for converting between Chinese characters and pinyin, supporting output with tones, without tones, or as first letters, plus basic polyphone handling via optional phrase dictionaries. It also includes a simple JS-based pinyin input method (IME) demo.

Use cases

  • convert chinese characters to pinyin in the browser
  • get pinyin first letters of chinese text
  • handle chinese polyphonic characters
  • build a simple pinyin input method in javascript
  • sort or index chinese text by pinyin
  • annotate chinese text with tone-marked pinyin

When to choose

  • you need a tiny dictionary footprint for web pages (25-122kb)
  • you only need basic hanzi-to-pinyin conversion or first letters
  • you want a dependency-free pure JavaScript solution

When to avoid

  • you need highly accurate polyphone disambiguation in production
  • you need server-side Chinese word segmentation quality
  • you need pinyin-to-hanzi conversion at scale

Facets

library · maturity maintenance

nlp parser sdk web-development browser pinyin chinese-characters ime polyphone dictionary-files unicode natural-language-processing localization nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
sxei/pinyinjsmain32

For agents

markdown · JSON · MCP: product_card(name="sxei/pinyinjs")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem