{"library":"icu-messageformat-parser","type":"library","category":null,"description":"icu-messageformat-parser is a JavaScript library that provides a PEG.js-based parser for ICU MessageFormat strings. It transforms a given MessageFormat string into an Abstract Syntax Tree (AST), enabling programmatic manipulation or interpretation of localized messages. The current stable version is 4.0.0. New major versions are released periodically to introduce breaking changes, often related to stricter conformance with the ICU MessageFormat specification, and to expand parsing capabilities. Key differentiators include its robust AST output, configurable strictness options (e.g., for number signs and function parameters), and its role as a fundamental parsing component for internationalization workflows involving MessageFormat, prioritizing accurate parsing according to Unicode CLDR and ICU standards.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","icu","messageformat","parser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install icu-messageformat-parser","imports":["import { parse } from 'icu-messageformat-parser';","import type { Ast } from 'icu-messageformat-parser';","import parse from 'icu-messageformat-parser';"]},{"cmd":"yarn add icu-messageformat-parser","imports":[]},{"cmd":"pnpm add icu-messageformat-parser","imports":[]}],"homepage":"https://messageformat.github.io/","github":"https://github.com/messageformat/parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/icu-messageformat-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/icu-messageformat-parser/compatibility"}}