Socket
Socket
Sign inDemoInstall

@aws-sdk/eventstream-serde-universal

Package Overview
Dependencies
Maintainers
6
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/eventstream-serde-universal

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/eventstream-serde-universal/latest.svg)](https://www.npmjs.com/package/@aws-sdk/eventstream-serde-universal) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/eventstream-serde-universal.svg)](h


Version published
Weekly downloads
1.2M
decreased by-5.57%
Maintainers
6
Weekly downloads
 
Install size
Created

Package description

What is @aws-sdk/eventstream-serde-universal?

@aws-sdk/eventstream-serde-universal is a package within the AWS SDK for JavaScript that provides serialization and deserialization of event streams. This is particularly useful for handling streaming data in AWS services like AWS Transcribe, AWS Kinesis, and others that use event streams.

What are @aws-sdk/eventstream-serde-universal's main functionalities?

Serialization of Event Streams

This feature allows you to serialize an event stream into a format that can be transmitted over the network. The code sample demonstrates how to create an instance of EventStreamMarshaller and serialize an event.

const { EventStreamMarshaller } = require('@aws-sdk/eventstream-serde-universal');

const marshaller = new EventStreamMarshaller();
const event = { eventType: 'example', data: 'sample data' };
const serializedEvent = marshaller.marshall(event);
console.log(serializedEvent);

Deserialization of Event Streams

This feature allows you to deserialize an event stream received over the network back into its original format. The code sample demonstrates how to create an instance of EventStreamMarshaller and deserialize an event.

const { EventStreamMarshaller } = require('@aws-sdk/eventstream-serde-universal');

const marshaller = new EventStreamMarshaller();
const serializedEvent = /* some serialized event data */;
const event = marshaller.unmarshall(serializedEvent);
console.log(event);

Other packages similar to @aws-sdk/eventstream-serde-universal

Changelog

Source

3.53.0 (2022-02-24)

Bug Fixes

  • client-s3: disable bucket endpoint plugin in WriteGetObjectResponseCommand (#3344) (1945d47)
  • codegen: fix set deserialization in SSDKs (#3322) (c827d5c)
  • hash-stream-node: support file stream in readableStreamHasher (#3338) (1e3faa1)
  • hash-stream-node: throw error if non-file readableStream is flowing (#3341) (76df645)
  • util-stream: remove jest from devDeps (#3348) (d9e4c4b)
  • util-stream: rename downlevel-dts to build:types:downlevel (#3355) (110bb19)

Features

  • clients: generate service exceptions as classes (#3267) (ca64fee)
  • clients: update clients as of 2022/02/23 (#3356) (b6b2e25)
  • clients: update clients as of 2022/02/24 (#3361) (ec3cc1e)
  • codegen: add getAwsChunkedEncodingStream to config (#3349) (6c05df3)
  • codegen: http checksum dependency integration (#3346) (bfc9257)
  • middleware-flexible-checksums: add flexibleChecksumMiddleware (#3340) (15e0512)
  • middleware-flexible-checksums: support trailing checksums with aws-chunked encoding (#3347) (50b48fe)
  • util-stream: add getAwsChunkedEncodingStream (#3339) (42d433b)

Readme

Source

@aws-sdk/eventstream-serde-universal

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Package last updated on 25 Feb 2022

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc