@pansy/arabic-chinese-converter
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@pansy/arabic-chinese-converter

Conversion between Chinese and Arabic numerals.

NPM version NPM downloads

📦 安装

  • 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

/@pansy/arabic-chinese-converter/

    Package Sidebar

    Install

    npm i @pansy/arabic-chinese-converter

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    44.1 kB

    Total Files

    47

    Last publish

    Collaborators

    • wangxingkang