node:events

Node's EventEmitter and event helpers.

node:events matches Node, including EventEmitterAsyncResource, captureRejections, and once() with an AbortSignal; import it with import { EventEmitter } from "node:events".