# cnwhy/nzh

数字转中文（大写，小写）数字，金额。

Repository: https://github.com/cnwhy/nzh
Canonical: https://ross.abutalabs.com/products/nzh
Homepage: https://cnwhy.github.io/nzh
Language: JavaScript
License Family: other
Last push: 2024-10-09T09:07:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4369, "days_push": 693, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1515, forks 138 (observed 2026-08-28T04:04:56.552943+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: parser, serialization, sdk
- domain: developer-tools, fintech
- platform: browser, cross-platform
- tags: chinese-numerals, number-conversion, currency-amounts, simplified-chinese, traditional-chinese, npm-package, natural-language-processing, localization, nodejs, javascript

## Member repositories
- cnwhy/nzh (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.552943+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:08.568148+00:00, confidence not recorded.
  - readme: https://github.com/cnwhy/nzh (fetched 2026-08-28T04:04:56.552943+00:00, sha de90c6e94b0c)
  - homepage: https://cnwhy.github.io/nzh (fetched 2026-08-29T11:35:53.050781+00:00, sha 99a708681ae9)
  - registry_npm: https://registry.npmjs.org/nzh (fetched 2026-08-29T11:35:53.060368+00:00, sha 1e83d6f68ee9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
