diff options
Diffstat (limited to 'node_modules/babel-plugin-syntax-exponentiation-operator/README.md')
-rw-r--r-- | node_modules/babel-plugin-syntax-exponentiation-operator/README.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-syntax-exponentiation-operator/README.md b/node_modules/babel-plugin-syntax-exponentiation-operator/README.md new file mode 100644 index 0000000..42057ea --- /dev/null +++ b/node_modules/babel-plugin-syntax-exponentiation-operator/README.md @@ -0,0 +1,35 @@ +# babel-plugin-syntax-exponentiation-operator + +Allow parsing of the exponentiation operator. + +## Installation + +```sh +$ npm install 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"] +}); +``` |