Have any "Amount in Word" library in meteor or js?

I would like to use amount in word in my Meteor App.

123 -> one ....
123.45 -> one ... point ....

Have any libraries?
Please help me.

$ npm search amount word
$ npm search digits word

For example spoken-numbers

1 Like

Thanks for your reply, I will check…

Depends if you have complex need or not. If you just want to map digits to words, maybe go like that :

'13245.67890a'.split('').map( function( i ) {
    return({0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', '.': 'point'})[i] || '';
} ).join(' ');

We are developers, not configurators or package assemblers.

But if you need to manage advanced cases, spoken-numbers is a good option, yep.