tinyaddress

JSON →
library 1.2.0 ·javascript
verified Jun 4, 2026

Tiny (~1.6KB), zero-dependency, universal localized address formatter for postal addresses. Version 1.2.0 uses Google's libaddressinput metadata to correctly sort and format address components for over 200 countries/regions. Features ESM and CJS support, TypeScript types included, and output as array or string. Differentiators: minimal bundle size, no dependencies compared to alternatives like localized-address-format, and coverage of all countries via Google's data. Stable and actively maintained.