Home

Awesome

babel-preset-camo

Babel preset for all es2015 plugins supported by Camo

Install

$ npm install --save-dev babel-preset-camo

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["camo"]
}

Via CLI

$ babel script.js --presets camo 

Via Node API

require("babel-core").transform("code", {
  presets: ["camo"]
});