node package manager

messageformat-bundle

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…

License

MIT © Tomek Wiszniewski.