summaryrefslogtreecommitdiffstats
path: root/node_modules/babel-plugin-syntax-async-generators
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-16 00:10:28 +0100
commite06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch)
tree55713f725f77b44ebfec86e4eec3ce33e71458ca /node_modules/babel-plugin-syntax-async-generators
downloadwebsite_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2
website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip
api, login, auth
Diffstat (limited to 'node_modules/babel-plugin-syntax-async-generators')
-rw-r--r--node_modules/babel-plugin-syntax-async-generators/.npmignore3
-rw-r--r--node_modules/babel-plugin-syntax-async-generators/README.md35
-rw-r--r--node_modules/babel-plugin-syntax-async-generators/lib/index.js13
-rw-r--r--node_modules/babel-plugin-syntax-async-generators/package.json41
4 files changed, 92 insertions, 0 deletions
diff --git a/node_modules/babel-plugin-syntax-async-generators/.npmignore b/node_modules/babel-plugin-syntax-async-generators/.npmignore
new file mode 100644
index 0000000..47cdd2c
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-async-generators/.npmignore
@@ -0,0 +1,3 @@
+src
+test
+node_modules
diff --git a/node_modules/babel-plugin-syntax-async-generators/README.md b/node_modules/babel-plugin-syntax-async-generators/README.md
new file mode 100644
index 0000000..330f8e2
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-async-generators/README.md
@@ -0,0 +1,35 @@
+# babel-plugin-syntax-async-generators
+
+Allow parsing of async generator functions.
+
+## Installation
+
+```sh
+$ npm install babel-plugin-syntax-async-generators
+```
+
+## Usage
+
+### Via `.babelrc` (Recommended)
+
+**.babelrc**
+
+```json
+{
+ "plugins": ["syntax-async-generators"]
+}
+```
+
+### Via CLI
+
+```sh
+$ babel --plugins syntax-async-generators script.js
+```
+
+### Via Node API
+
+```javascript
+require("babel-core").transform("code", {
+ plugins: ["syntax-async-generators"]
+});
+```
diff --git a/node_modules/babel-plugin-syntax-async-generators/lib/index.js b/node_modules/babel-plugin-syntax-async-generators/lib/index.js
new file mode 100644
index 0000000..a43fdf3
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-async-generators/lib/index.js
@@ -0,0 +1,13 @@
+"use strict";
+
+exports.__esModule = true;
+
+exports.default = function () {
+ return {
+ manipulateOptions: function manipulateOptions(opts, parserOpts) {
+ parserOpts.plugins.push("asyncGenerators");
+ }
+ };
+};
+
+module.exports = exports["default"]; \ No newline at end of file
diff --git a/node_modules/babel-plugin-syntax-async-generators/package.json b/node_modules/babel-plugin-syntax-async-generators/package.json
new file mode 100644
index 0000000..792d1eb
--- /dev/null
+++ b/node_modules/babel-plugin-syntax-async-generators/package.json
@@ -0,0 +1,41 @@
+{
+ "_from": "babel-plugin-syntax-async-generators@^6.5.0",
+ "_id": "babel-plugin-syntax-async-generators@6.13.0",
+ "_inBundle": false,
+ "_integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=",
+ "_location": "/babel-plugin-syntax-async-generators",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "babel-plugin-syntax-async-generators@^6.5.0",
+ "name": "babel-plugin-syntax-async-generators",
+ "escapedName": "babel-plugin-syntax-async-generators",
+ "rawSpec": "^6.5.0",
+ "saveSpec": null,
+ "fetchSpec": "^6.5.0"
+ },
+ "_requiredBy": [
+ "/babel-plugin-transform-async-generator-functions"
+ ],
+ "_resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz",
+ "_shasum": "6bc963ebb16eccbae6b92b596eb7f35c342a8b9a",
+ "_spec": "babel-plugin-syntax-async-generators@^6.5.0",
+ "_where": "/home/pruss/Dev/3-minute-website/node_modules/babel-plugin-transform-async-generator-functions",
+ "bundleDependencies": false,
+ "dependencies": {},
+ "deprecated": false,
+ "description": "Allow parsing of async generator functions",
+ "devDependencies": {},
+ "keywords": [
+ "babel-plugin"
+ ],
+ "license": "MIT",
+ "main": "lib/index.js",
+ "name": "babel-plugin-syntax-async-generators",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators"
+ },
+ "version": "6.13.0"
+}