babel-plugin-yui
v0.0.7
Published
Babel plugin for YUI
Downloads
7
Readme
babel-plugin-yui
Support for YUI
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-yui
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["yui"]
}
Via CLI
$ babel --plugins yui script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["yui"]
});