babel/packages/babel-plugin-syntax-exponentiation-operator
Henry Zhu e86f62b304 README: add --save-dev [skip ci]
Closes gh-4910
2016-11-29 08:40:27 -05:00
..
2015-10-05 16:37:49 +01:00
2015-10-05 16:37:49 +01:00
2016-08-04 19:34:51 -04:00
2016-11-29 08:40:27 -05:00

babel-plugin-syntax-exponentiation-operator

Allow parsing of the exponentiation operator.

Installation

npm install --save-dev 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"]
});