Babel plugin that enables compile-time transformation of Streamline.js async syntax (callback-, fiber-, and generator-based) within the Babel ecosystem. This package (version 2.0.26, last stable) allows you to combine Streamline's non-blocking control flow with Babel's transpilation pipeline. Key differentiators: integrates Streamline's _ (callback) / fiber / generator modes as Babel plugins, requires matching Babel major version, and is primarily for legacy projects using Streamline.js. Release cadence is low; mainly maintenance updates.
npm install babel-plugin-streamlineVerified import paths — ran on the pinned version, not inferred.
Configures Babel to transform Streamline.js callback-style async code using the callbacks runtime.
Do not use with Babel 7; consider switching to @babel/plugin or alternative async transform.
Set options via extra.streamline in Babel config.
Add 'blacklist': ['regenerator'] to Babel config when runtime is not 'callbacks'.
Replace Streamline.js with async/await or other modern async patterns.
Add require('streamline').register() at entry point or use runtime option 'callbacks' which auto-includes helpers.Downgrade to Babel 6 or use an alternative async transform (e.g., @babel/plugin-transform-runtime).
Move options to extra.streamline in Babel config; do not pass options as second element in plugins array.