num-to-nep-words
v1.0.4
Published
Convert english number(Arabic numerals) into Nepali words. Both in Nepali and English language.
Downloads
20
Maintainers
Readme
num-to-nepali-words
Convert english number(Arabic numerals) into Nepali words. Both in Nepali and English language.
Example
12345 => बाह्र हजार, तीन सय पैँतालीस
6789 => छ हजार, सात सय उनान्नब्बे
12345 => Twelve Thousand, Three Hundred and Forty Five
10000000001 => Ten Arab, One
usage
npm i num-to-nep-words
const numToNepaliWords = require('num-to-nep-words')
console.log(numToNepaliWords(123, 'np')) // एक सय तेईस
console.log(numToNepaliWords(123, 'en')) // One Hundred and Twenty Three