Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tapjs/error-serdes

tapjs584.7kBlueOak-1.0.04.0.0TypeScript support: included

Port of node's error_serdes.js to userland, plus test message streaming

v8, error, serialization, deserialization, serialize, deserialize

readme

@tapjs/error-serdes

Error serialization/deserialization and node:test message stream production and consumption.

serializeError

Serialize an error object for passing through a test:... message.

deserializeError

Turn a serialized error message into a JavaScript object.

TestStreamSerialize

Create a stream of serialized message objects for consumption by node --test.

TestStreamDeserialize

Parse a stream of serialized message objects.

changelog

src/docs/content/changelog.md