0.1.0 • Published 7 years ago

binn.js v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

binn.js

Build Status Deps

Binary serialization using the Binn format.

This module implements a Binn encoder and decoder in pure javascript.

You can check the specs here.

Usage

Header

var binn = require('binn.js');

Encoding

var obj = {hello: 'world', number: 123};
var data = binn.encode(obj);

Decoding

var obj = binn.decode(data);