Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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.

Keywords

none

install

npm i messageformat-bundle

Downloadsweekly downloads

1

version

0.0.3

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar