1.0.3 • Published 6 years ago

numdly v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

numdly

npm version Build Status MIT licensed

Converts numbers into words.

Installation

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')

License

MIT.