zeromq-frame-parser

1.1.2 • Public • Published

Build Status

zeromq-frame-parser

Parse ZMTP (ZeroMQ Message Transport Protocol) frames.

Installation

npm install zeromq-frame-parser

API

What it says on the tin.

parse(buffer) -> array of buffers

Parses a single set of frames, and returns an array of their bodies.

parse.frame(buffer) -> { body: Buffer, more: Boolean }

Parses a single frame.

Extras

The binary-parse-fn style parsers are exposed as zeromq-frame-parser/parser. They are exposed under the same names as the parse functions. This is considered public API.

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i zeromq-frame-parser

Weekly Downloads

7

Version

1.1.2

License

ISC

Last publish

Collaborators

  • nathan7