messageformat-bundle

0.0.3 • Public • Published

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.

/messageformat-bundle/

    Package Sidebar

    Install

    npm i messageformat-bundle

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • tomekwi