intl-formatter
JSON →Zero-dependency isomorphic Intl formatting library for JavaScript and TypeScript. Provides seven synchronous, crash-safe methods for numbers, currency, percentages, durations, dates, and relative time with consistent output across server and client (no hydration mismatches). Uses built-in LRU caching for Intl instances. Supports Node.js >=18, React, Next.js App Router, Express, Bun, Deno, and edge runtimes. Under 3KB gzipped. Current stable version: 1.0.3. Release cadence: irregular. Key differentiator: universal runtime support, zero dependencies, and no framework lock-in.
Resources
packageintl-formatter ↗