
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
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
The npm package transduce-async receives a total of 5 weekly downloads. As such, transduce-async popularity was classified as not popular.
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.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.