Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
An API wrapper for One Billion Checkboxes by Alula
This package works with Cloudflare Workers, Deno, Bun, Browsers



JSR Score
100%
Published
a year ago (2.0.0)
f
assertChunkInBitmap
Throws RangeError if specified chunk index is invalid.
f
assertIndexInBitmap
Throws RangeError if specified global checkbox index is invalid.
f
assertIndexInChunk
Throws RangeError if specified checkbox index relative to a chunk is invalid.
v
BITMAP_SIZE_BITS
The size of the entire bitmap in bits.
v
BITMAP_SIZE_BYTES
The size of the entire bitmap in bytes.
c
ByteBuffer
Utility class that uses DataView to sequentially read different data structures out of an ArrayBuffer.
c
Chunk
Data class that represents a chunk: its checkboxes and index. Provides some utility functions.
v
CHUNK_COUNT
The number of chunks.
v
CHUNK_SIZE_BITS
The size of a single chunk in bits.
v
CHUNK_SIZE_BYTES
The size of a single chunk in bytes.
c
c
T
E
PacketType
Client and server side packet IDs.
v
UPDATE_CHUNK_SIZE
The size of a single update chunk in bytes.