@abdelhameed_hs/number-to-textvalue-transformer
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

number-to-text-transformer

A service that translates numeric input into the equivalent Arabic word form.

Installation

Use the npm package manager to install number-to-text-transformer.

npm i @abdelhameed_hs/number-to-textvalue-transformer

Usage

import { ArabicNumberService } from '@abdelhameed_hs/number-to-textvalue-transformer';

const arabicNumber = arabicNumberService.convertNumberToArabic(1234);
console.log(arabicNumber); // Output: " فقط ألف ومائتان وثلاثة وثلاثون جنيه مصرى لا غير "

Package Sidebar

Install

npm i @abdelhameed_hs/number-to-textvalue-transformer

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

7.99 kB

Total Files

6

Last publish

Collaborators

  • abdelhameed_hs