This package has been deprecated

Author message:

move to @the-/pack ( https://github.com/the-labo/the/tree/master/packages/pack#readme )

the-pack

1.0.6 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i the-pack

Weekly Downloads

14

Version

1.0.6

License

MIT

Unpacked Size

45.1 kB

Total Files

37

Last publish

Collaborators

  • okunishinishi