{"library":"babel-plugin-polyfill-regenerator","type":"library","category":null,"description":"A Babel plugin that automatically imports regenerator-runtime when generator/async functions are used. Part of the babel-polyfills monorepo, this is the recommended replacement for @babel/plugin-transform-regenerator's built-in helper. Current version 0.6.8, released as part of the @babel/preset-env polyfill strategy. Unlike older approaches, it avoids bundling regenerator-runtime if not needed (tree-shaking friendly) and integrates with the broader babel polyfill ecosystem (corejs, entry/usage transforms). Requires @babel/core >=7.4 or ^8.0.0-0. Deprecated in favor of @babel/plugin-transform-runtime for library authors, but still maintained for use with @babel/preset-env usage-based polyfilling.","language":"javascript","status":"active","version":"0.6.8","tags":["javascript","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-polyfill-regenerator","imports":["module.exports = require('babel-plugin-polyfill-regenerator')","plugins: [require('babel-plugin-polyfill-regenerator')]"]},{"cmd":"yarn add babel-plugin-polyfill-regenerator","imports":[]},{"cmd":"pnpm add babel-plugin-polyfill-regenerator","imports":[]}],"homepage":null,"github":"https://github.com/babel/babel-polyfills","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-polyfill-regenerator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-polyfill-regenerator/compatibility"}}