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-async-functions
Allow parsing of async functions.
## Installation
```sh
$ npm install babel-plugin-syntax-async-functions
```
## Usage
### Via `.babelrc` (Recommended)
**.babelrc**
```json
{
"plugins": ["syntax-async-functions"]
}
```
### Via CLI
```sh
$ babel --plugins syntax-async-functions script.js
```
### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-async-functions"]
});
```

View file

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

View file

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