# 🎐📦 ハブ

A compact storage data structure for lists of bitfields with support
for arbitrary bitwidths (≤ 64).

```js
import ハブ from "./mod.js";

const bitWidth = 5;
const length = 18;
const habu = new ハブ(bitWidth, length);
habu[1] = 0b11000n;
habu[17] = 0b01001n;

habu.length; // 18
habu.byteLength; // 12
```

## Nomenclature

<i lang="ja">ハブ</i> is a Japanese word meaning “viper” or “hub”.
<i lang="ja">ハブクラゲ</i> is the native name for
[<i>Chironex yamaguchii</i>][C. yamaguchii], a toxic box jellyfish.

[C. yamaguchii]: <https://en.wikipedia.org/wiki/Chironex_yamaguchii>

## License

Source files are licensed under the terms of the <cite>Mozilla Public
License, version 2.0</cite>. For more information, see
[LICENSE](./LICENSE).
