numdly

Converts numbers into words.

Github

Try it

Installation

Use npm to install the package.

npm install numdly

Usage

If your number is smaller than 2^53, you can pass the number directly:

import numdly from 'numdly'
let numberText = numbly(314)
console.log(numberText) // three hundred forteen

For bigger numbers, however, use a string:

import numdly from 'numdly'
let numberText = numdly('3141592653589793238')