Socket
Socket
Sign inDemoInstall

as-bytestream-codecs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-bytestream-codecs

Object serialization/deserialization primitives for JavaScript


Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 05 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc