README
Hemera-msgpack package
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'))