@messageformat/runtime

Runtime components of messageformat

Usage no npm install needed!

<script type="module">
  import messageformatRuntime from 'https://cdn.skypack.dev/@messageformat/runtime';
</script>

README

@messageformat/runtime

A collection of messageformat runtime utility functions.

npm install @messageformat/runtime

This package should be marked as a dependency for any package that publishes the output of 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 is a completely optional addition. See also @messageformat/react for a React-specific solution.

This package was previously named messageformat-runtime.


Messageformat is an OpenJS Foundation project, and we follow its Code of Conduct.

OpenJS Foundation