asciipack

AsciiPack is an object serialization inspired by MessagePack.

npm install asciipack
31 downloads in the last month

AsciiPack

NPM version

Synopsis

var demo = {"compact":true,"binary":0};
var ap = AsciiPack.pack(demo);
console.log(ap); //=> "r2NcompactYMbinary0"

var unpacked = AsciiPack.unpack(ap);
console.log(unpacked); //=> {"compact":true,"binary":0}

Install

<script src="https://raw.github.com/ksss/AsciiPack/master/js/asciipack.js"></script>
npm install asciipack

see also https://github.com/ksss/AsciiPack/blob/master/README.md

npm loves you