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

hotoo/pinyin

:cn: 汉字拼音 ➜ hàn zì pīn yīn observed · 2026-08-28

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

Health v2 · maintenance only

62/100

  • Activity 86
  • Release rhythm 8
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 5880
  • days_rel: n/a
  • days_push: 85
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

7828 stars · 851 forks observed · 2026-08-28

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

A JavaScript library that converts Chinese characters (Hanzi) to Pinyin, supporting multiple pinyin styles, heteronym (polyphonic) characters, surname mode, and optional word segmentation. It ships as an npm package usable in Node and browsers, plus a companion CLI tool.

Use cases

  • convert chinese characters to pinyin
  • sort chinese text by pinyin
  • add pinyin annotations to hanzi
  • get first letters of chinese words for search indexing
  • resolve polyphonic chinese characters with word segmentation
  • convert chinese names to pinyin with surname handling

When to choose

  • you need Chinese-to-Pinyin conversion in Node.js or the browser
  • you need multiple pinyin styles, heteronyms, or surname mode
  • you want a CLI for quick pinyin conversion

When to avoid

  • you need a Python implementation (use python-pinyin instead)
  • you need full traditional Chinese or translation features beyond pinyin conversion

Facets

library · maturity active

nlp parser cli internationalization developer-tools browser cli cross-platform pinyin chinese hanzi text-conversion segmentation monorepo natural-language-processing localization command-line nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
hotoo/pinyinmain62

For agents

markdown · JSON · MCP: product_card(name="hotoo/pinyin")

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