
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
transduce-async
Advanced tools
Use Transducers with async iterators and observables by supporting Promises in iterators and transformers. Inspired by this talk from Erik Meijer.
Works with transduce, transducers-js or transducers.js.
Also works with any-promise library (a pollyfill, es6-promise, promise, native-promise-only, bluebird, rsvp, when, q).
Just install your transducers and Promise library preference and it will be auto detected and used.
API:
defer: function();
delay: function(wait);
compose: function(/*args*/);
transduce: function(xf, f, init, coll);
reduce: function(f, init, coll);
toArray: function(xf?, coll);
Create a deferred transducer that allows wrapped transformer to step or result a Promise in addition to a value. All items will be queued and processed in order. The wrapped transformer is called with value of resolved Promise.
Create a deferred transducer that delays step of wrapped transformer by wait milliseconds. All items will be queued and delayed and step will return a promise that will resolve after wait milliseconds for each item.
Like a normal compose, except all arguments are interleaved with defer. This allows any transducer in composed pipeline to step or result a Promise in addition to a value. The wrapped transformer is called with value of resolved Promise.
Like a normal transduce, except init and coll can be a Promise and xf can be a deferred transducer. The value of coll can be anything that can be converted to an iterator. The return value is a Promise for the result of the transformation.
Like a normal reduce, except init and coll can be a Promise and xf can be a deferred transducer. The value of coll can be anything that can be converted to an iterator. The return value is a Promise for the result of the reduction.
Convenience function to transduce into an array with an optional transformation. The return value is a Promise for an array.
FAQs
Deprecated: merged into transduce
We found that transduce-async demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.