If your target environment has promises <i>and</i> generators available, I&#x27;m fond of using Babel&#x27;s first-party `transform-async-to-generator` plugin, which barely alters your code&#x27;s syntax: <a href="https:&#x2F;&#x2F;babeljs.io&#x2F;docs&#x2F;plugins&#x2F;transform-async-to-generator&#x2F;" rel="nofollow">https:&#x2F;&#x2F;babeljs.io&#x2F;docs&#x2F;plugins&#x2F;transform-async-to-generator...</a>