How to use the regenerator-6to5.transform function in regenerator-6to5

To help you get started, we’ve selected a few regenerator-6to5 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github babel / babel / lib / 6to5 / transformation / transformers / generators.js View on Github external
var regenerator = require("regenerator-6to5");

module.exports = regenerator.transform;

regenerator-6to5

Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5)

MIT
Latest version published 10 years ago

Package Health Score

53 / 100
Full package analysis

Popular regenerator-6to5 functions