node:domain

Node.js domain module, resolvable via both ESM import and CommonJS require.

> Deprecated. node:domain is deprecated in Node itself. Elide provides the > surface for compatibility, but it is pass-through only — it does not > intercept or route errors the way Node's domains do.
ExportDescription
DomainClass exposing run, bind, intercept, enter, exit, and related methods, plus the EventEmitter surface.
create() / createDomain()Create a Domain.
activeAlways null.

See also

  • Node.js upstream: