1.0.0 • Published 3 years ago

number-to-rupee v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Number two Rupee

Number two Rupee is a javascript library for converting numbers in Indian rupee word.

Installation

Use the package manager npm to install number-to-rupee.

npm install number-to-rupee

Usage

import numberToRupee from 'number-to-rupee';

const number = 123456789;
const rupee = numberToRupee(number);
console.log(rupee);
// Output:
// Twelve Crore Thirty Four Lakh Fifty Six Thousand Seven Hundred Eighty Nine Rupees

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 update tests as appropriate.

License

MIT