UNPKG

num-beauty

Version:

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

3 lines (2 loc) 182 B
import { type SupportedLocale } from '../locales/index.js'; export declare function abbreviateNumber(number: number | bigint, formattedNum: string, locale: SupportedLocale): string;