# arraybuffer-concat

> Concatenate ArrayBuffers

Latest version **0.0.1** (published 2017-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install arraybuffer-concat
pnpm add arraybuffer-concat
yarn add arraybuffer-concat
bun add arraybuffer-concat
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-06-29 |
| First published | 2017-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Miguel Mota |
| Maintainers | miguelmota |
| Keywords | concat, concatenate, arraybuffer, typedarray, array, buffer |

## Links

- npm: https://www.npmjs.com/package/arraybuffer-concat
- Repository: https://github.com/miguelmota/arraybuffer-concat
- Issues: https://github.com/miguelmota/arraybuffer-concat/issues
- npm.io page: https://npm.io/package/arraybuffer-concat

## Dependencies (1)

- [tape](https://npm.io/package/tape.md) ^3.0.3

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-06-29

## README

# arraybuffer-concat

> Concatenate ArrayBuffers

# Install

```bash
npm install arraybuffer-concat
```

# Usage

```javascript
var arrayBufferConcat = require('arraybuffer-concat');

var a = new Uint8Array(1);
a[0] = 5;

var b = new Uint8Array(2);
b[0] = 2;
b[1] = 7;

var c = new Uint8Array(1);
c[0] = 9;

var arrayBuffer = arrayBufferConcat(a, b, c)
console.log(arrayBuffer.byteLength) // 4

var uint8 = new Uint8Array(arrayBuffer)
console.log(uint8[0]) // 5
console.log(uint8[1]) // 2
console.log(uint8[2]) // 7
console.log(uint8[3]) // 9
```

# Test

```bash
npm test
```

# License

MIT

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