
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.
event-aggregate
Advanced tools
Funnels events through a single point, so not all of your code needs to attach listeners to every object.
An aggregator for your events. Funnels events through a single point, so not all
of your code needs to attach listeners to every object. This approach is
particularly good for handling error events by UI components.
$ npm i --save event-aggregate
var aggregate = require('event-aggregate');
module.exports = aggregate({
error: [locationsStore, pathStore],
change: [pathStore]
});
Initialize the event aggregator. Takes an {Object} config as an argument,
which defines the event names as keys, and an array of emitters as the value.
When an event is received from an emitter, event-aggregate will emit the same
event.
module.exports = aggregate({
error: [myAsyncThing, myOtherAsyncThing],
success: [myOtherAsyncThing],
warning: [myAsyncthing]
});
// When 'myAsyncThing' emits an error, we will catch it,
// and emit the same error ourselves.
FAQs
Funnels events through a single point, so not all of your code needs to attach listeners to every object.
We found that event-aggregate 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.