1.0.0 • Published 1 year ago

number-to-words-converter v1.0.0

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

number-to-words-converter - Fast and lightweight number to words convertor


Installation

# npm ..
$ npm install number-to-words-converter 
# yarn ..
$ yarn add number-to-words-converter

Usage

This is a practical example of how to use.

import { NumberToWords } from 'number-to-words-converter'

const result = new NumberToWords(9_007_199_254_740_991).convert()

console.log(result)
// nine quadrillion, seven trillion, one hundred ninety-nine billion, two hundred fifty-four million, seven hundred forty thousand, nine hundred ninety-one

Online converter