MCPcopy Index your code
hub / github.com/binaryjs/binaryjs

github.com/binaryjs/binaryjs @0.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.1 ↗ · + Follow
14 symbols 18 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status

BinaryJS

We're under development!

For docs and more info http://binaryjs.com

Node binary websocket streaming made easy

Download

Server

$ npm install binaryjs

or from Git

$ git clone git://github.com/binaryjs/binaryjs.git
$ cd binaryjs
$ npm install -g

Client

<script src="http://cdn.binaryjs.com/0/binary.js"></script>

http://binaryjs.com for docs and demos

Changelog

0.2.1

  • Update js-binarypack to 0.0.7, fast utf8 support now on by default.

0.2.0

  • Fix critical BinaryPack issue prevent TypedArrays of 16 bit or greater from being serialized correctly

0.1.9

  • Fix close internal socket (removing not supported code/message parameters)

0.1.8

  • Does not throw exceptions when writing on a stream with closed underlying socket
  • StreamID no longer has to be a number
  • Use newer version of node-binarypack

0.1.7

  • Fix critical bug involving drain event not firing. Bump streamws to 0.1.1

0.1.5

  • streamws version >=0.1.0 is now required
  • Streams no longer add their own listeners to error/close/drain events (fixes leaks)
  • Calls to socket.send no longer include {binary: true} or callback parameters (fixes type error in some browsers)

Core symbols most depended-on inside this repo

BinaryServer
called by 3
lib/server.js
cleanup
called by 1
lib/client/stream.js
setZeroTimeoutPostMessage
called by 0
lib/util.js
handleMessage
called by 0
lib/util.js
BinaryClient
called by 0
lib/client.js
BinaryStream
called by 0
lib/stream.js
BlobReadStream
called by 0
lib/client/blob_stream.js
emitReadChunk
called by 0
lib/client/blob_stream.js

Shape

Function 14

Languages

TypeScript100%

Modules by API surface

lib/client/stream.js7 symbols
lib/util.js2 symbols
lib/client/blob_stream.js2 symbols
lib/stream.js1 symbols
lib/server.js1 symbols
lib/client.js1 symbols

For agents

$ claude mcp add binaryjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact