@tapjs/error-serdes
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @tapjs/error-serdes

    Weekly Downloads

    103,407

    Version

    2.0.1

    License

    BlueOak-1.0.0

    Unpacked Size

    107 kB

    Total Files

    61

    Last publish

    Collaborators

    • ljharb
    • isaacs