Skip to content

Decoding and encoding JavaScript/TypeScript objects to binary format.

License

Notifications You must be signed in to change notification settings

superman2211/xobj

Repository files navigation

@xobj

Build

This project makes it possible to use a compact universal binary data format for JavaScript objects.

Packages

Package Version Downloads Coverage Description
@xobj/buffer npm Downloads Coverage Buffer for Browser and NodeJS. Writing and reading basic types to binary data.
@xobj/core npm Downloads Coverage Decoding and encoding JavaScript / TypeScript / JSON objects to binary format.

Get started

Object encoding documentation

Buffer documentation

Samples

Package Description
rollup-sample Sample with rollup bundling
rollup-external-sample Sample with external rollup bundling
browser-sample Sample for browser
nodejs-sample Sample for nodejs

Development

Install all dependencies

yarn

Build all projects

yarn build

Test all projects

yarn test

Generate coverage report

yarn coverage

Check code quality

yarn lint