# @types/minimal-bit-array

> TypeScript definitions for minimal-bit-array

Latest version **1.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/minimal-bit-array
pnpm add @types/minimal-bit-array
yarn add @types/minimal-bit-array
bun add @types/minimal-bit-array
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-11-07 |
| First published | 2018-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/minimal-bit-array
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimal-bit-array
- npm.io page: https://npm.io/package/@types/minimal-bit-array

## Recent versions

- 1.0.3 (latest) — 2023-11-07
- 1.0.0 (ts2.0) — 2018-07-24
- 1.0.2 — 2023-10-18
- 1.0.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/minimal-bit-array`

# Summary
This package contains type definitions for minimal-bit-array (https://github.com/mikolalysenko/minimal-bit-array).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimal-bit-array.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimal-bit-array/index.d.ts)
````ts
declare namespace BitArray {
    interface BitArrayJSON {
        bits: number[];
        length: number;
    }
}

declare class BitArray {
    static fromJSON(bitArrayJSON: BitArray.BitArrayJSON): BitArray;

    length: number;
    bits: Uint32Array;

    constructor(length: number);

    get(index: number): boolean;
    set(index: number, value: any): boolean;
    toJSON(): BitArray.BitArrayJSON;
}

export = BitArray;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Olegs Jeremejevs](https://github.com/jeremejevs).

---
_Source: https://npm.io/package/@types/minimal-bit-array · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
