A Babel v6 plugin that transforms ES7 async/await syntax using fast synchronous transformation instead of generators/regenerator, achieving 3-4x performance improvements in browsers and Node, and up to 10x on mobile. Currently at v6.2.1, it uses the nodent library for compilation and supports options like Promise-based output, generator fallback, and runtime module imports. Requires nodent runtime unless using 'spec' mode with noRuntime. Released under MIT.
npm install babel-plugin-fast-asyncVerified import paths — ran on the pinned version, not inferred.
Minimal .babelrc to enable fast-async plugin for async/await transformation.
Upgrade to Babel v7 and use @babel/plugin-transform-async-to-generator or similar.
Set 'runtimePattern' option to a regex matching one file, or use 'useRuntimeModule' for import.
Set 'dontMapStackTraces: false' in env options if you need mapped stack traces.
Run 'npm install nodent --save' alongside fast-async.
Use @babel/plugin-transform-async-to-generator instead of fast-async.
Ensure consistent module system; set Babel sourceType appropriately.