cnwhy/nzh
数字转中文(大写,小写)数字,金额。 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 4369
- days_rel: n/a
- days_push: 693
- n_releases_24m: 0
Adoption not part of the score
1515 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library for converting between Arabic numerals and Chinese numerals, including uppercase/lowercase forms and RMB-style monetary amounts. It supports scientific notation strings, colloquial output, custom digit/unit characters, and converting Chinese numerals back to numbers.
Use cases
- convert numbers to Chinese uppercase for invoices and receipts
- format monetary amounts in Chinese capital characters
- parse Chinese numerals back into Arabic numbers
- convert very large numbers to Chinese without floating point errors
- support both simplified and traditional Chinese numeral output
- customize digit units like 兆 or 京 in number conversion
When to choose
- you need reliable Arabic-to-Chinese number or money conversion in JavaScript
- you must handle very large numbers or scientific notation strings
- you need both simplified and traditional Chinese numeral support
- you want to round-trip Chinese numerals back to numbers
When to avoid
- you need number-to-words conversion in languages other than Chinese
- your runtime is not JavaScript/Node.js
- you need locale-aware currency formatting beyond Chinese RMB conventions
Facets
library · maturity stable
parser serialization sdk developer-tools fintech browser cross-platform chinese-numerals number-conversion currency-amounts simplified-chinese traditional-chinese npm-package natural-language-processing localization nodejs javascript
3 sources
- readme: https://github.com/cnwhy/nzh · fetched 2026-08-28 · de90c6e94b0c
- homepage: https://cnwhy.github.io/nzh · fetched 2026-08-29 · 99a708681ae9
- registry_npm: https://registry.npmjs.org/nzh · fetched 2026-08-29 · 1e83d6f68ee9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cnwhy/nzh | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem