Skip to content
Babel preset for Cloudflare
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

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"]
});
You can’t perform that action at this time.