1.0.1 • Published 9 months ago

@mustafamilyas/ntw v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

A tiny utility function for converting numbers to their number words. Currently only support numbers to English words.

Installation

npm i @mustafamilyas/ntw
#or
yarn add @mustafamilyas/ntw

How To Use It

This library only converts when the provided argument is a number

import { ntw } from '@mustafamilyas/ntw'

ntw('some wrong arguments') // => ""
ntw(12353) // => "twelve thousand three hundred fifty three"
ntw(100000) // => "one hundred thousand"
ntw(672343602049) // => "six hundred seventy two billion three hundred forty three million six hundred two thousand forty nine"

Feedback

No standard rule, you can ask me through this repository or if you prefer email then please send it to emailpribadiilyas@gmail.com

1.0.1

9 months ago

1.0.0

9 months ago