# @lazy-cjk/static-build-zh-convert

> 靜態建構中文轉換資料 (Static build Chinese conversion data)

Latest version **2.0.0** (published 2026-11-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install @lazy-cjk/static-build-zh-convert
pnpm add @lazy-cjk/static-build-zh-convert
yarn add @lazy-cjk/static-build-zh-convert
bun add @lazy-cjk/static-build-zh-convert
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-11-14 |
| First published | 2020-05-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 435.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | bluelovers |
| Maintainers | bluelovers |
| Keywords | char, character, characters, chinese, cjk, cjk-conv, regexp-cjk, cn, cn2tw, conv, conversion, convert, greedy, hanja, hanzi, japanese, jp2zhs, jp2zht, kanji, node-novel, regex, regexp, regular, regular expression, simplified, slugify, str-util, table, traditional, transform, tw, tw2cn, unicode, util, words, zh, zh-cn, zh-tw, zh2jp, zhs, zht |

## Links

- npm: https://www.npmjs.com/package/@lazy-cjk/static-build-zh-convert
- Repository: https://github.com/bluelovers/ws-regexp
- Homepage: https://github.com/bluelovers/ws-regexp/tree/master/packages/@lazy-cjk/static-build-zh-convert#readme
- Issues: https://github.com/bluelovers/ws-regexp/issues
- npm.io page: https://npm.io/package/@lazy-cjk/static-build-zh-convert

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) >=2

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-11-14
- 1.0.61 — 2026-09-06
- 1.0.60 — 2026-09-06
- 1.0.59 — 2026-09-06
- 1.0.58 — 2025-03-12
- 1.0.57 — 2024-09-03
- 1.0.56 — 2024-09-02
- 1.0.55 — 2024-08-24
- 1.0.54 — 2024-03-01
- 1.0.53 — 2024-02-28
- 1.0.52 — 2024-01-29
- 1.0.51 — 2023-02-28
- 1.0.50 — 2022-10-29
- 1.0.49 — 2022-10-26
- 1.0.48 — 2022-10-16
- … 36 more at https://npm.io/package/@lazy-cjk/static-build-zh-convert/versions

## README

# @lazy-cjk/static-build-zh-convert

> 靜態建構中文轉換資料 (Static build Chinese conversion data)

## install

```bash
# 使用 yarn / Using yarn
yarn add @lazy-cjk/static-build-zh-convert

# 使用 yarn-tool / Using yarn-tool
yarn-tool add @lazy-cjk/static-build-zh-convert
# yt 是 yarn-tool 的別名 / yt is an alias for yarn-tool
yt add @lazy-cjk/static-build-zh-convert

# 使用 pnpm / Using pnpm
pnpm add @lazy-cjk/static-build-zh-convert

# 使用 npm / Using npm
npm install @lazy-cjk/static-build-zh-convert
```

## 繁簡轉換對應表

* BASE 代表 可以簡單透過 javascript split 進行字串分割
* UNICODE 代表需要透過支援 Unicode 進行字串分割(例如 [uni-string](https://www.npmjs.com/package/uni-string) )
* SAFE 代表於 簡轉繁 時，盡量不去取代已經存在於繁體中的字(至於繁轉簡則... 沒必要)

可透過以下代碼取得相同資料

```ts
import { table_tw2cn, table_cn2tw } from 'cjk-conv/lib/zh/convert';
import { tableCn2TwDebug, tableTw2CnDebug } from 'cjk-conv/lib/zh/convert/min';
```

### 繁轉簡 table_tw2cn

- JSON: [table_tw2cn.json](./table_tw2cn.json)
- BASE: [base.from](data/unsafe/table_tw2cn.base.from.txt) / [base.to](data/unsafe/table_tw2cn.base.to.txt)
- UNICODE: [unicode.from](data/unsafe/table_tw2cn.unicode.from.txt) / [unicode.to](data/unsafe/table_tw2cn.unicode.to.txt)
- SAFE: [safe.from](data/safe/table_tw2cn.base.from.txt) / [safe.to](data/safe/table_tw2cn.base.to.txt)
- 

### 簡轉繁 table_cn2tw

- JSON: [table_cn2tw.json](./table_cn2tw.json)
- BASE: [base.from](data/unsafe/table_cn2tw.base.from.txt) / [base.to](data/unsafe/table_cn2tw.base.to.txt)
- UNICODE: [unicode.from](data/unsafe/table_cn2tw.unicode.from.txt) / [unicode.to](data/unsafe/table_cn2tw.unicode.to.txt)
- SAFE: [safe.from](data/safe/table_cn2tw.base.from.txt) / [safe.to](data/safe/table_cn2tw.base.to.txt)
-

---
_Source: https://npm.io/package/@lazy-cjk/static-build-zh-convert · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
