node:util

Node's utility module, with two legacy helpers unimplemented.

node:util and node:util/types match Node; node:sys returns the same object.

Differences from Node

  • toUSVString() and log() throw ERR_METHOD_NOT_IMPLEMENTED.
  • util.types predicates are non-enumerable; list them with Object.getOwnPropertyNames(util.types).