{ "_args": [ [ { "raw": "babel-plugin-transform-exponentiation-operator@^6.24.1", "scope": null, "escapedName": "babel-plugin-transform-exponentiation-operator", "name": "babel-plugin-transform-exponentiation-operator", "rawSpec": "^6.24.1", "spec": ">=6.24.1 <7.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-expo" ] ], "_from": "babel-plugin-transform-exponentiation-operator@>=6.24.1 <7.0.0", "_id": "babel-plugin-transform-exponentiation-operator@6.24.1", "_inCache": true, "_location": "/babel-plugin-transform-exponentiation-operator", "_nodeVersion": "6.9.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/babel-plugin-transform-exponentiation-operator-6.24.1.tgz_1491578374311_0.5411838875152171" }, "_npmUser": { "name": "hzoo", "email": "hi@henryzoo.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "babel-plugin-transform-exponentiation-operator@^6.24.1", "scope": null, "escapedName": "babel-plugin-transform-exponentiation-operator", "name": "babel-plugin-transform-exponentiation-operator", "rawSpec": "^6.24.1", "spec": ">=6.24.1 <7.0.0", "type": "range" }, "_requiredBy": [ "/babel-preset-expo", "/react-native" ], "_resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", "_shasum": "2ab0c9c7f3098fa48907772bb813fe41e8de3a0e", "_shrinkwrap": null, "_spec": "babel-plugin-transform-exponentiation-operator@^6.24.1", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-expo", "dependencies": { "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", "babel-plugin-syntax-exponentiation-operator": "^6.8.0", "babel-runtime": "^6.22.0" }, "description": "Compile exponentiation operator to ES5", "devDependencies": { "babel-helper-plugin-test-runner": "^6.24.1" }, "directories": {}, "dist": { "shasum": "2ab0c9c7f3098fa48907772bb813fe41e8de3a0e", "tarball": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz" }, "keywords": [ "babel-plugin" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "amasad", "email": "amjad.masad@gmail.com" }, { "name": "hzoo", "email": "hi@henryzoo.com" }, { "name": "jmm", "email": "npm-public@jessemccarthy.net" }, { "name": "loganfsmyth", "email": "loganfsmyth@gmail.com" }, { "name": "sebmck", "email": "sebmck@gmail.com" }, { "name": "thejameskyle", "email": "me@thejameskyle.com" } ], "name": "babel-plugin-transform-exponentiation-operator", "optionalDependencies": {}, "readme": "# babel-plugin-transform-exponentiation-operator\n\n> Compile exponentiation operator to ES5\n\n## Example\n\n```js\n// x ** y\n\nlet squared = 2 ** 2;\n// same as: 2 * 2\n\nlet cubed = 2 ** 3;\n// same as: 2 * 2 * 2\n\n\n// x **= y\n\nlet a = 2;\na **= 2;\n// same as: a = a * a;\n\nlet b = 3;\nb **= 3;\n// same as: b = b * b * b;\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-exponentiation-operator\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n \"plugins\": [\"transform-exponentiation-operator\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-exponentiation-operator script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n plugins: [\"transform-exponentiation-operator\"]\n});\n```\n\n## References\n\n* [Proposal: Exponentiation Operator](https://github.com/rwaldron/exponentiation-operator)\n* [Spec: Exponential Operator](https://rwaldron.github.io/exponentiation-operator/)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-exponentiation-operator" }, "scripts": {}, "version": "6.24.1" }