msgpack-decode

1.0.1 • Public • Published

msgpack-decode

A catch-all decoder that translates Buffers and ArrayBuffers into usable Objects.

It accepts JSON and MSG-Pack encoding.

Usage

var decoder = require('msgpack-decode');
 
// Example Buffer:
var data = new Buffer(JSON.stringify({foo: 'bar'}));
 
decoder.decode(data);
// {foo:'bar'}
 

Readme

Keywords

none

Package Sidebar

Install

npm i msgpack-decode

Weekly Downloads

1

Version

1.0.1

License

GNU GPL V2

Last publish

Collaborators

  • fed135