1.0.6 • Published 5 years ago
the-pack v1.0.6
the-pack
Message pack wrapper for the-components
Installation
$ npm install the-pack --save
Usage
'use strict'
const { ThePack } = require('the-pack')
async function tryExample () {
const { decode, encode } = new ThePack()
const encoded = encode({ foo: 'bar' })
const decoded = decode(encoded)
console.log('decoded', decoded)
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.