msg-format

JSON →
library 1.0.4 ·javascript maintenance
verified Jun 4, 2026

A JavaScript string formatting library inspired by Java's MessageFormat class, supporting placeholder substitution ({0}, {1}), date/time formatting with patterns, and localization for 7 locales (English, French, German, Chinese, Russian, Arabic, Japanese). Current stable version is 1.0.4, last updated in 2018 with no recent releases. It offers a simple API similar to Java's MessageFormat but is limited to basic numeric placeholders and predefined locale patterns. Alternatives like Intl.MessageFormat or format-message provide more modern i18n capabilities with ICU syntax and better browser support.