# ndarray-bit

> ndarrays of bits

Latest version **1.0.0** (published 2014-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install ndarray-bit
pnpm add ndarray-bit
yarn add ndarray-bit
bun add ndarray-bit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-05-31 |
| First published | 2013-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | ndarray, bit, array, packed, memory |

## Links

- npm: https://www.npmjs.com/package/ndarray-bit
- Repository: https://github.com/mikolalysenko/ndarray-bit
- Issues: https://github.com/mikolalysenko/ndarray-bit/issues
- npm.io page: https://npm.io/package/ndarray-bit

## Dependencies (2)

- [ndarray](https://npm.io/package/ndarray.md) ^1.0.15
- [minimal-bit-array](https://npm.io/package/minimal-bit-array.md) ^1.0.0

## Recent versions

- 1.0.0 (latest) — 2014-05-31
- 0.0.0 — 2013-06-28

## README

ndarray-bit
===========
An [ndarray](https://github.com/mikolalysenko/ndarray) of bits.

## Example

```javascript
var ndbits = require("ndarray-bit")

//Create a 100x100 bit mask
var x = ndbits([100, 100])

x.set(1, 10, true)

x.get(1, 10) //Returns true
```

## Install

```sh
npm install ndarray-bit
```

### `require("ndarray-bit")(shape)`
Creates an ndarray of bits initialized to shape.

* `shape` is the shape of the bit array

**Returns** An ndarray of bits.  The underlying store is an instance of [`minimal-bit-array`](https://github.com/mikolalysenko/minimal-bit-array).

## Credits
(c) 2013 Mikola Lysenko. MIT License

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