Number two Rupee is a javascript library for converting numbers in Indian rupee word.
Use the package manager npm to install number-to-rupee.
npm install number-to-rupeeimport 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 RupeesPull 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.