1.0.5 • Published 1 year ago

digit-to-word-converter v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

CONVERT DIGIT TO WORD

Project that converts numbers to words in multiple languages (ENGLISH | NEPALI)

Table of Contents

Installation

Open a terminal or command prompt and run:

Using npm:

$ npm i digit-to-word-converter

Using yarn:

$ yarn add digit-to-word-converter

Using pnpm:

$ pnpm add digit-to-word-converter

You should see the digit-to-word-converter in your package.json

Features

  • Convert digit to word
  • Multi language
  • Focus on high performance

Usage

import {digitToWord} from 'digit-to-word-converter';

console.log(digitToWord(1)));
// output -> एक

console.log(digitToWord(45)));
// output -> पैँतालीस

console.log(digitToWord(535000)));
// output -> पाँच लाख पैंतीस हजार

!IMPORTANT It is capable to return up to 1 trillion (10^12) (१ हजार उनान सय अर्व)

License

MIT

1.0.5

1 year ago

1.0.4

1 year ago