Xobj
Decoding and encoding JavaScript/TypeScript objects to binary format.
Install / Use
/learn @superman2211/XobjREADME
@xobj
This project makes it possible to use a compact universal binary data format for JavaScript objects.
Packages
| Package | Version | Downloads | Coverage | Description |
|---------|---------|-----------|----------|-------------|
| @xobj/buffer | |
|
| Buffer for Browser and NodeJS. Writing and reading basic types to binary data. |
| @xobj/core |
|
|
| Decoding and encoding JavaScript / TypeScript / JSON objects to binary format. |
Get started
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
