slowli

slowli/chai-bytes

Chai assertions for byte arrays equality

JavaScript
0
2
Apache License 2.0

**chai‑bytes** adds a `equalBytes` assertion to Chai that lets you compare `Uint8Array` (or other byte‑array) values against hex strings, arrays, or array‑like objects. It’s useful for developers who need precise binary‑data testing (e.g., networking, cryptography, file parsing) within JavaScript test suites. The library targets anyone already using Chai for assertions and wants a simple, standards‑compliant way to verify byte‑array equality.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

slowli's profile
slowli
75 contributions
dependabot[bot]'s profile
dependabot[bot]
71 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet