@actualwave/multibyte-stream

Community

Tiny, fast bit-level data encoding for JS.

Authorburdiuz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bit-level binary serialization for JavaScript. Pack values into the minimum number of bits — 1 bit for booleans, fewer bits for integers, and so on — then read them back with a consistent schema to minimize payload size in URL params, messages, or storage.

Core Features & Use Cases

  • BitWriter / BitReader for low-level bit I/O on any TypedArray
  • BitStream for combined read/write on a shared buffer
  • Type classes to encode/decode booleans, integers, floats, strings, arrays, objects, enums, and bigint
  • Schema to auto-infer from sample data and persist/restore via Base64

Quick Start

Create a schema from a sample object and encode it to Base64, then decode it back to verify round-tripping.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: @actualwave/multibyte-stream
Download link: https://github.com/burdiuz/js-multibyte-stream/archive/main.zip#actualwave-multibyte-stream

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.