{{ !articles[0].partner.isSponsoringArticle ? "Platinum" : "Portal" }} Partner

Introducing BinaryJS: For Realtime Binary Streaming via WebSockets

BinaryJS is a JavaScript library for bidrectional realtime binary data streaming with WebSockets.  BinaryJS is a lightweight framework that utilizes WebSockets to send, stream, and pipe binary data bidirectionally between browser JavaScript and Node.js.
  • BinaryPack serialization format is fast, binary, and JSON-type compatible. Data stays binary end to end
  • Automatically chunks large binary data buffers for streaming performance
  • Send multiple streams of data concurrently over multiplexed websocket connection
  • API implements Node.js read/write Streams. You can pipe any stream into BinaryJS streams (and vice-versa)
  • "pause," "resume," and "end" as in the Streams API

Requirements: None
Demohttps:/ / github. com/ binaryjs/ binaryjs/ tree/ master/ examples
License: MIT License

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks