Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 401 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 401 Bytes

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