GT2/GT2-iOS/node_modules/babel-plugin-syntax-exponen...
Ren Ren Juan 30eef7d036 correct tree err 2018-02-12 17:26:06 +00:00
..
lib correct tree err 2018-02-12 17:26:06 +00:00
.npmignore correct tree err 2018-02-12 17:26:06 +00:00
README.md correct tree err 2018-02-12 17:26:06 +00:00
package.json correct tree err 2018-02-12 17:26:06 +00:00

README.md

babel-plugin-syntax-exponentiation-operator

Allow parsing of the exponentiation operator.

Installation

$ npm install babel-plugin-syntax-exponentiation-operator

Usage

.babelrc

{
  "plugins": ["syntax-exponentiation-operator"]
}

Via CLI

$ babel --plugins syntax-exponentiation-operator script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-exponentiation-operator"]
});