# @messageformat/runtime

> Runtime components of messageformat

Latest version **3.0.2** (published 2025-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @messageformat/runtime
pnpm add @messageformat/runtime
yarn add @messageformat/runtime
bun add @messageformat/runtime
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2025-10-30 |
| First published | 2020-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 61.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1770 |
| Maintainers | eemeli |
| Keywords | i18n, icu, messageformat, internationalization |

## Links

- npm: https://www.npmjs.com/package/@messageformat/runtime
- Repository: https://github.com/messageformat/messageformat
- Homepage: https://messageformat.github.io/
- Issues: https://github.com/messageformat/messageformat/issues
- npm.io page: https://npm.io/package/@messageformat/runtime

## Dependencies (1)

- [make-plural](https://npm.io/package/make-plural.md) ^7.0.0

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 3.0.2 (latest) — 2025-10-30
- 3.0.1 — 2022-02-06
- 3.0.0 — 2021-05-13
- 3.0.0-beta.2 — 2020-11-29

## README

# @messageformat/runtime

A collection of [messageformat](http://messageformat.github.io/) runtime utility functions.

```
npm install @messageformat/runtime
```

This package should be marked as a dependency for any package that publishes the output of [compileModule()](http://messageformat.github.io/messageformat/api/core.compilemodule/), as the compiled ES source output may include references to it.

For applications that bundle their output using e.g. Webpack this is not necessary.

The [`Messages` accessor class](http://messageformat.github.io/messageformat/api/runtime.messages/) is a completely optional addition.
See also [@messageformat/react](http://messageformat.github.io/messageformat/api/react/) for a React-specific solution.

This package was previously named [messageformat-runtime](https://www.npmjs.com/package/messageformat-runtime).

---

[Messageformat](https://messageformat.github.io/) is an OpenJS Foundation project, and we follow its [Code of Conduct](https://code-of-conduct.openjsf.org/).

<a href="https://openjsf.org">
<img width=200 alt="OpenJS Foundation" src="https://messageformat.github.io/messageformat/logo/openjsf.svg" />
</a>

---
_Source: https://npm.io/package/@messageformat/runtime · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
