Henry Zhu e86f62b304 README: add --save-dev [skip ci]
Closes gh-4910
2016-11-29 08:40:27 -05:00

36 lines
521 B
Markdown

# babel-plugin-syntax-exponentiation-operator
Allow parsing of the exponentiation operator.
## Installation
```sh
npm install --save-dev babel-plugin-syntax-exponentiation-operator
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["syntax-exponentiation-operator"]
}
```
### Via CLI
```sh
babel --plugins syntax-exponentiation-operator script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-exponentiation-operator"]
});
```