@pansy/arabic-chinese-converter
v1.0.2
Published
Conversion between Chinese and Arabic numerals
Downloads
10
Readme
📦 安装
- npm 安装
npm install @pansy/arabic-chinese-converter --dev --save
- yarn 安装
yarn add @pansy/arabic-chinese-converter --dev
🔨 使用
import arabicChinese from '@pansy/arabic-chinese-converter';
const arabicChinese = new ArabicChinese();
console.log(arabicChinese.encode(1)); // 一
console.log(arabicChinese.decode('一)); // 1