JSPM

zeromq-frame-parser

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23213F
  • License ISC

ZMTP (ZeroMQ Message Transport Protocol) frame parser

Package Exports

  • zeromq-frame-parser
  • zeromq-frame-parser/parser
  • zeromq-frame-parser/parser.es5.js
  • zeromq-frame-parser/parser.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zeromq-frame-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.