UNPKG

num-beauty

Version:

An ultra lightweight module for formatting numbers into human-friendly strings

5 lines (4 loc) 320 B
import { type SupportedLocale } from '../locales'; export declare function getLocaleMasks(locale: SupportedLocale): Record<string, string>; export declare function getMask(locale: SupportedLocale, maskType: string): string | undefined; export declare function applyMask(value: number | string, pattern: string): string;