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.

8 lines (7 loc) 424 B
import { BaseConverter } from './baseConverter'; import { ConverterConfig, ConversionResult } from '../types/converterTypes'; export declare class NepaliConverter extends BaseConverter { constructor(); convert(num: number | string | bigint, config: Required<ConverterConfig>): ConversionResult; } export declare const digitToNepaliWords: (num: number | string | bigint, config?: Partial<ConverterConfig>) => string;