@dishanqian/cn_and_tw
v0.0.4
Published
Created on Wed Jan 10 2024 07:02:57<br> ### Introduce #### <en_us> Provides basic functions for bidirectional conversion between Simplified and Traditional Chinese.<br> Feature: Provide the following content,<ul> <li>string array, simplified charac
Downloads
4
Maintainers
Readme
Created on Wed Jan 10 2024 07:02:57
Introduce
<en_us>
Provides basic functions for bidirectional conversion between Simplified and Traditional Chinese. Feature: Provide the following content,
<zh_cn>
提供简体与繁体双向转换基础函数。 功能:提供以下内容,
<zh_tw>
提供簡體與繁體雙向轉換基礎函數。 功能:提供以下內容,
Usage1
npm i -g @dishanqian/cn_and_tw
cn_to_tw 个 计算机 天干
tw_to_cn 個 計算機 天干
Usage2
npm i @dishanqian/cn_and_tw
const { cn2tw, tw2cn } = require('@dishanqian/cn_and_tw');
['个', '计算机', '天干'].forEach(from => console.log(`${from}=>${cn2tw(from)}`));
['個', '計算機', '天干'].forEach(from => console.log(`${from}=>${tw2cn(from)}`));
Develop
git clone git+ssh://[email protected]/anqisoft/js_cn_and_tw
cd js_cn_and_tw
This
typescript
github: https://github.com/anqisoft/ts_cn_and_tw deno: https://deno.land/x/cn_and_tw
javascript
github: https://github.com/anqisoft/js_cn_and_tw npmjs: https://www.npmjs.com/package/@dishanqian/cn_and_tw
Dependents 1: tw2cn
typescript
github: https://github.com/anqisoft/ts_deno_tw2cn deno: https://deno.land/x/tw2cn
javascript
github: https://github.com/anqisoft/js_node_tw2cn npmjs: https://www.npmjs.com/package/@dishanqian/tw2cn
Dependents 2: cn2tw
typescript
github: https://github.com/anqisoft/ts_deno_cn2tw deno: https://deno.land/x/cn2tw
javascript
github: https://github.com/anqisoft/js_node_cn2tw npmjs: https://www.npmjs.com/package/@dishanqian/cn2tw