# @babel/plugin-transform-regenerator > Explode async and generator functions into a state machine. See our website [@babel/plugin-transform-regenerator](https://babeljs.io/docs/babel-plugin-transform-regenerator) for more information. ## Install Using npm: ```sh npm install --save-dev @babel/plugin-transform-regenerator ``` or using yarn: ```sh yarn add @babel/plugin-transform-regenerator --dev ```