How to use the snappystream.SnappyStream function in snappystream

To help you get started, we’ve selected a few snappystream examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dudleycarr / nsqjs / lib / nsqdconnection.js View on Github external
startSnappy () {
    const { SnappyStream, UnsnappyStream } = require('snappystream')

    this.inflater = new UnsnappyStream()
    this.deflater = new SnappyStream()
    this.reconsumeFrameBuffer()
  }

snappystream

Framed Snappy streams

MIT
Latest version published 1 year ago

Package Health Score

51 / 100
Full package analysis