UNPKG

digit-to-words-nepali

Version:

A comprehensive TypeScript library for converting numbers to words in English and Nepali languages. Supports numbers up to 10^39 (Adanta Singhar), currency formatting, decimal handling, and BigInt. Zero dependencies, fully tested.

15 lines (14 loc) 357 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VALID_SCALES = void 0; exports.VALID_SCALES = { HUNDRED: 100n, THOUSAND: 1000n, LAKH: 100000n, CRORE: 10000000n, ARAB: 1000000000n, KHARAB: 100000000000n, NEEL: 10000000000000n, PADMA: 1000000000000000n, SHANKHA: 100000000000000000n };