npm.io
6.13.0 • Published 9 years ago

babel-plugin-syntax-exponentiation-operator

Licence
MIT
Version
6.13.0
Deps
0
Vulns
0
Weekly
0
Stars
44.1K

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

Keywords