node:v8

The six node:v8 exports and their JSON serialization.

node:v8 exports only these six members.

OperationBehavior
cachedDataVersionTag()Returns a stable 32-bit tag for the running binary.
getHeapStatistics()Returns a heap-statistics object in Node’s format.
getHeapSpaceStatistics()Returns one entry per memory pool, with names such as eden space.
setFlagsFromString(flags)Accepts a string and has no effect.
serialize(value)Encodes JSON.stringify(value) as UTF-8 in a Uint8Array.
deserialize(buffer)Decodes UTF-8 and parses the JSON.

serialize output is not V8’s structured-clone format; circular objects throw TypeError.