Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

inr-words

nidri586ISC1.0.4

Convert Indian currency from numbers to words

inr, currency, indian currency, rupees, in words

readme

Convert Indian currency into words

Example: INR 35,45,650 will be converted to Thirty five lakhs forty five thousand six hundred and fifty rupees

Note: Octal numbers are converted to decimal before converting to words.

Link to NPM Package

Install

npm install inr-words

Usage

const inr = require('inr-words');

console.log(inr(3485)); 
// Output: three thousand four hundred eighty five rupees

console.log(inr(248745956.67));
// Output: twenty four crores eighty seven lakhs forty five thousand nine hundred fifty six rupees and sixty seven paise

License

ISC