theajack/cnchar
🇨🇳 功能全面的汉字工具库 (拼音 笔画 偏旁 成语 语音 可视化等) (Chinese character util) observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2341
- days_rel: n/a
- days_push: 32
- n_releases_24m: 0
Adoption not part of the score
3083 stars · 341 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
cnchar is a comprehensive TypeScript library for Chinese character processing, offering pinyin conversion, stroke counts, stroke order drawing, radicals, idioms, traditional/simplified conversion, and speech synthesis/recognition. It works across browsers, Node.js, mini-programs, and mobile frameworks with a plugin-based, modular design.
Use cases
- get the pinyin of Chinese characters including polyphonic words
- count strokes and render stroke order animations for hanzi
- convert between simplified and traditional Chinese characters
- look up radicals and character structure of Chinese characters
- add Chinese text-to-speech and speech recognition to a web app
- sort or generate Chinese characters by pinyin or stroke count
- get wubi input codes for Chinese characters
When to choose
- you need rich Chinese character utilities (pinyin, strokes, radicals, drawing) in JavaScript/TypeScript
- you want one library that runs in browser, Node.js, mini-programs, and ReactNative/Electron
- you need offline or custom-deployable Chinese character data with modular package sizes
When to avoid
- you need full NLP like segmentation or translation rather than character-level utilities
- your project is not JavaScript/TypeScript based
- you need machine-translation-grade linguistic analysis of Chinese text
Facets
library · maturity active
nlp speech-recognition tts image-processing sdk developer-tools cross-platform browser cross-platform chinese-characters pinyin stroke-order hanzi traditional-chinese wubi text-to-speech speech-to-text typescript natural-language-processing localization nodejs web-server electron
3 sources
- readme: https://github.com/theajack/cnchar · fetched 2026-08-28 · 4a9b53a79b62
- homepage: https://theajack.github.io/cnchar · fetched 2026-08-29 · 73dee53493f1
- registry_npm: https://registry.npmjs.org/cnchar · fetched 2026-08-29 · aff65c634b68
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| theajack/cnchar | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem