Skip to main content
Home

Built and signed on GitHub Actions

An API wrapper for One Billion Checkboxes by Alula

This package works with Cloudflare Workers, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Deno
This package works with Bun
This package works with 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
ClientChunk

Class that represents a Chunk linked to a Client.

E
PacketType

Client and server side packet IDs.

v
UPDATE_CHUNK_SIZE

The size of a single update chunk in bytes.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.