messageformat-bundle
v0.0.3
Published
Compile a tree of messages with messageformat.js. No globals in the output.
Downloads
3
Readme
messageformat-bundle
Compile a tree of messages with messageformat.js. No globals in the output.
Installation
> npm install messageformat-bundle
Usage
var messageformatBundle = require('messageformat-bundle');
// Work in progress…
API
messageformatBundle(messages, [options])
messages
Type:
Object
Required
options.formatting
Type:
Function
Default:messageformatBundle.formatting.asModule
options.locale
Type:
String
Default:undefined
options.customPlurals
Type:
Function
Default:undefined
Work in progress…
Why use it
Work in progress…