babel-plugin-polyfill-regenerator
Advanced tools
Weekly downloads
Readme
Using npm:
npm install --save-dev babel-plugin-polyfill-regenerator
or using yarn:
yarn add babel-plugin-polyfill-regenerator --dev
Add this plugin to your Babel configuration:
{
"plugins": [["polyfill-regenerator", { "method": "usage-global" }]]
}
This package supports the usage-pure
, usage-global
, and entry-global
methods.
When entry-global
is used, it replaces imports to regenerator-runtime
.
A Babel plugin to inject imports to regenerator-runtime
The npm package babel-plugin-polyfill-regenerator receives a total of 16,961,447 weekly downloads. As such, babel-plugin-polyfill-regenerator popularity was classified as popular.
We found that babel-plugin-polyfill-regenerator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.