flow like the river

This commit is contained in:
root 2025-11-07 00:06:12 +01:00
commit 013fe673f3
42435 changed files with 5764238 additions and 0 deletions

View file

@ -0,0 +1,3 @@
node_modules
*.log
src

View file

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

View file

@ -0,0 +1,13 @@
"use strict";
exports.__esModule = true;
exports.default = function () {
return {
manipulateOptions: function manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("exponentiationOperator");
}
};
};
module.exports = exports["default"];

View file

@ -0,0 +1,13 @@
{
"name": "babel-plugin-syntax-exponentiation-operator",
"version": "6.13.0",
"description": "Allow parsing of the exponentiation operator",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-exponentation-operator",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"babel-plugin"
],
"dependencies": {},
"devDependencies": {}
}