0.0.7 • Published 8 years ago
babel-plugin-yui v0.0.7
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"]
});