number-to-words-en-us
v1.0.1
Published
An package to convert numerical values to words
Downloads
145
Maintainers
Readme
Package
Introduction
number-to-words-en-us is a javascript package to convert numerical values (numbers) to words.
Installation
Use the package manager npm is required to install the package.
npm install number-to-words-en-us
Usage
With common js (cjs) / using require statement
//import the module using the require statement
const numberToWords = require("number-to-words-en-us");
//example- convert the number 4563 to words
const convertedNumber = numberToWords(4563); // four thousand five hundred and sixty three
With plain or module javascript (mjs) / using import statement
//import the module using the import statement
import numberToWords from "number-to-words-en-us";
//example- convert the number 4563 to words
const convertedNumber = numberToWords(4563); // four thousand five hundred and sixty three
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to contact me @ [email protected].
License
Author
ADDO CONSTANT
GHANA
Email: [email protected]