@the-/pack

17.0.0 • Public • Published

@the-/pack

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Links

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @the-/pack

    Weekly Downloads

    3

    Version

    17.0.0

    License

    MIT

    Unpacked Size

    80.6 kB

    Total Files

    33

    Last publish

    Collaborators

    • okunishinishi