Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

194 B
Raw Blame
export function formatInstalls(n: number, locale: string): string {
  return new Intl.NumberFormat(locale || undefined, {
    notation: 'compact',
    compactDisplay: 'short',
  }).format(n);
}