1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/node_modules/regenerator-runtime
2024-04-03 15:54:35 -03:00
..
LICENSE Improving the get restream credentials 2022-05-20 16:22:54 -03:00
package.json Update npm 2024-04-03 15:54:35 -03:00
path.js Improving the get restream credentials 2022-05-20 16:22:54 -03:00
README.md Improving the get restream credentials 2022-05-20 16:22:54 -03:00
runtime.js Update npm 2024-04-03 15:54:35 -03:00

regenerator-runtime

Standalone runtime for Regenerator-compiled generator and async functions.

To import the runtime as a module (recommended), either of the following import styles will work:

// CommonJS
const regeneratorRuntime = require("regenerator-runtime");

// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";

To ensure that regeneratorRuntime is defined globally, either of the following styles will work:

// CommonJS
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime.js";

To get the absolute file system path of runtime.js, evaluate the following expression:

require("regenerator-runtime/path").path