
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
asynchronous-emitter
Advanced tools
Nodejs core _Events system_ is synchronous. This means we can't `await` for listeners and `async` listeners can't be caught. This package extends [`EventEmitter`](https://nodejs.org/api/events.html#events_class_eventemitter) and enables event emmiters to
Nodejs core Events system is synchronous. This means we can't await for listeners and async listeners can't be caught.
This package extends EventEmitter and enables event emmiters to await for listeners to resolve in a concise way.
npm install --save asynchronous-emitter
const AsyncEventEmitter = require('asynchronous-emitter');
const events = new AsyncEventEmitter();
// it's the same core EventEmitter apis and behavior
events.on('event', () => {
return new Promise((resolve, reject) => {
setTimeout(() => {
console.log('event will resolve');
resolve();
}, 100);
});
});
// but it await events
async function main() {
await events.emit('event');
console.log('event awaited');
}
main();
FAQs
Nodejs core _Events system_ is synchronous. This means we can't `await` for listeners and `async` listeners can't be caught. This package extends [`EventEmitter`](https://nodejs.org/api/events.html#events_class_eventemitter) and enables event emmiters to
We found that asynchronous-emitter 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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.