messageformat bundle.js使用messageformat.js编译消息树,输出无全局变量
消息格式包使用 messageformat.js 编译消息树。输出中没有全局变量。安装:npm install messageformat-bundle
。
用法:
var messageformatBundle = require('messageformat-bundle');
// Work in progress…
应用程序接口:
messageformatBundle(消息, [选项])
消息类型:Object,必需的。
选项:
-
格式类型:Function,默认值:
messageformatBundle.formatting.asModule
。 -
locale:String,默认值:
undefined
。 -
customPlurals:Function,默认值:
undefined
。
工作正在进行中…
下载地址
用户评论