babel-plugin-message-format
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-message-format
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["message-format"]
}
Via CLI
$ babel --plugins message-format script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["message-format"]
});