1 repository
Decomposes localized strings into typed tokens for granular styling of individual output components.
Distinct from String Tokenization: Focuses on breaking formatted internationalization output into style-able tokens rather than general string splitting.
Explore 1 awesome GitHub repository matching software engineering & architecture · Formatting Tokenizers. Refine with filters or upvote what's useful.
Globalize is a JavaScript internationalization library and Unicode CLDR localization engine. It provides a toolkit for formatting dates, numbers, and currencies using the Unicode Common Locale Data Repository and IANA time zones. The project features a build-time localization compiler that precompiles rules into static formatters to reduce runtime overhead and bundle size. It includes a system for parsing and formatting complex strings using the ICU MessageFormat syntax, supporting variables, pluralization, and gender inflections. The library covers a broad surface of localization capabiliti
Breaks formatted strings into arrays of typed tokens to allow custom styling of individual output parts.