@tapjs/error-serdes
Version:
Port of node's error_serdes.js to userland, plus test message streaming
23 lines (13 loc) • 472 B
Markdown
Error serialization/deserialization and `node:test` message
stream production and consumption.
Serialize an error object for passing through a `test:...`
message.
Turn a serialized error message into a JavaScript object.
Create a stream of serialized message objects for consumption by
`node --test`.
Parse a stream of serialized message objects.