Socket
Socket
Sign inDemoInstall

babel-plugin-polyfill-regenerator

Package Overview
Dependencies
72
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

babel-plugin-polyfill-regenerator

A Babel plugin to inject imports to regenerator-runtime

    0.5.5latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
23,280,382
increased by4.99%

Weekly downloads

Readme

Source

babel-plugin-polyfill-regenerator

Install

Using npm:

npm install --save-dev babel-plugin-polyfill-regenerator

or using yarn:

yarn add babel-plugin-polyfill-regenerator --dev

Usage

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.

Keywords

FAQs

Last updated on 18 Jan 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc