1.0.6 • Published 5 years ago

the-pack v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

the-pack

Build Status npm Version JS Standard

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.

Links