Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

hemera-msgpack

6.0.0 • Public • Published

Hemera-msgpack package

npm styled with prettier

This is a plugin to use Mspack with Hemera.

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.

Usage

// Use NATS driver >= 0.7.2
const nats = require('nats').connect({
  preserveBuffers: true
})
const hemera = new Hemera(nats)
hemera.use(require('hemera-msgpack'))

Keywords

none

install

npm i hemera-msgpack

Downloadsweekly downloads

171

version

6.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability