wallet-core/node_modules/babel-plugin-syntax-exponentiation-operator
2017-05-28 00:40:43 +02:00
..
lib add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
.npmignore add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
package.json add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
README.md add linting (and some initial fixes) 2017-05-28 00:40:43 +02: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"]
});