0.3.0 • Published 3 years ago

@devmoath/ar-num-to-en-num v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@devmoath/ar-num-to-en-num Node.js Package

Convert Arabic numbers to English numbers

Installation

Install the plugin from npm:

# Using npm
npm install @devmoath/ar-num-to-en-num

# Using Yarn
yarn add @devmoath/ar-num-to-en-num

Usage

// es module import:
import convert from '@devmoath/ar-num-to-en-num';

// commonjs import:
const convert = require('@devmoath/ar-num-to-en-num').default;

convert('test ١٢٣'); // test 123
convert('كلمة ١٢٣'); // كلمة 123

// if you pass non-string value the function will return false
convert({}); // false
convert([]); // false
0.3.0

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago