Socket
Book a DemoInstallSign in
Socket

@tapjs/error-serdes

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/error-serdes

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

4.0.0
latest
Source
npmnpm
Version published
Weekly downloads
120K
-16.41%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

v8

FAQs

Package last updated on 08 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.