babel/packages/babel-plugin-syntax-exponentiation-operator
Sebastian McKenzie 4a1e5c17b4 v6.1.18
2015-11-12 13:46:30 -08:00
..
2015-10-05 16:37:49 +01:00
2015-10-05 16:37:49 +01:00
2015-11-12 13:46:30 -08:00
2015-10-05 16:37:49 +01:00

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