1.0.4 • Published 1 year ago

@i.shubham.kr/number-to-word v1.0.4

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

Number-to-Word Converter npm.io

Converts a number to its word equivalent.

Installation

npm i @i.shubham.kr/number-to-word

Usage

const numberToWord = require('@i.shubham.kr/number-to-word')

console.log(numberToWord(1234567890, 'USD'))
// Output: One Billion Two Hundred Thirty Four Million Five Hundred Sixty Seven Thousand Eight Hundred Ninety

Options

OptionTypeDefaultDescription
langstring'USD'Language of the output. Currently supports 'United States'.
langstring'INR'Language of the output. Currently supports 'Indian'.
langstring'CN'Language of the output. Currently supports 'Chinees'.
langstring''Invalid language will return the number as it is.

GitHub npm.io

Shubham Kumar

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago