as-bytestream-codecs

0.0.1 • Public • Published

as-bytestream-codecs Build Status npm version

Serialization/deserialization primitives for JavaScript. This is a utility library that provides another layer of abstraction to serialization/deserialization within an application.

installation

Use the following command to install the library from npm:

    npm install as-bytestream-codecs

usage

The library provides 2 functions:

  • serialize(codecName, obj, options): Used to serialize an object.
  • deserialize(codecName, buf, options): Used to deserialize an object.

codecs supported

  • json
  • msgpack

options

options is an optional object that depends on the codec being used. Each codec has a different set of options, as listed below.

contact

All feedback/suggestions/criticisms can be directed to Anand Suresh

Readme

Keywords

none

Package Sidebar

Install

npm i as-bytestream-codecs

Weekly Downloads

4

Version

0.0.1

License

none

Last publish

Collaborators

  • anandsuresh