1.0.3 • Published 5 years ago

digits2word v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

digit2word.js

A Javascript library for converting digits to word.

Description

Most times when trying to send money with mobile bank apps or web apps, we do make mistakes of sending more than we intended to. For example sending 10000.00 instead of 1000.00.

So to address this issue i wrote this program to help convert digits to their word form.

Installation

Installation uses the npm package manager. Just type the following command after installing npm.

npm install digit2word

Example

const digit2word = require('digit2word');

// Convert digit to word
const output = digit2word.convert(546789);
console.log(output);