0.0.7 • Published 8 years ago

babel-plugin-yui v0.0.7

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

babel-plugin-yui

travis

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"]
});