@bundled-es-modules/message-format
Version:
Mirror of message-format, bundled and exposed as ES module
25 lines (18 loc) • 564 B
Markdown
# message-format
This is a mirror of [message-format](https://www.npmjs.com/package/message-format), bundled and exposed as ES module.
## Install
```
npm install @bundled-es-modules/message-format
bower install bundled-es-modules/message-format
```
## Use
```html
<script type="module">
// from main file
import { MessageFormat } from 'message-format';
// or directly
import MessageFormat from 'message-format/MessageFormat.js';
console.log(MessageFormat);
</script>
```
Make sure you added `@bundled-es-modules` scope to the path if used via npm.