babel-preset-cf

Babel preset for CloudFlare

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-cf
2.0.07 years ago7 years agoMinified + gzip package size for babel-preset-cf in KB

Readme

babel-preset-cf
Babel preset for CloudFlare

Install

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

Usage

Via .babelrc (Recommended)

.babelrc
{
  "presets": ["cf"]
}

Via CLI

$ babel script.js --presets cf

Via Node API

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