# buffer-concat-limit

> Helper method to concat 2 buffers with a tail limit

Latest version **0.0.1** (published 2015-04-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install buffer-concat-limit
pnpm add buffer-concat-limit
yarn add buffer-concat-limit
bun add buffer-concat-limit
```

## 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 | 2015-04-16 |
| First published | 2015-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.x |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | James Hartig |
| Maintainers | fastest963 |
| Keywords | buffer, concat, limit |

## Links

- npm: https://www.npmjs.com/package/buffer-concat-limit
- Repository: https://github.com/fastest963/node-bufferConcatLimit
- Issues: https://github.com/fastest963/node-bufferConcatLimit/issues
- npm.io page: https://npm.io/package/buffer-concat-limit

## 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) — 2015-04-16

## README

buffer-concat-limit
===============

Simple helper method for Node.js to concatinate 2 buffers with a tail limit.

```
var bufferConcatLimit = require("buffer-concat-limit");
```

### bufferConcatLimit(bufferOne, bufferTwo[, limit])
Concatinates `bufferOne` with `bufferTwo` and returns the resulting buffer.
If `limit` is greater than 0, the resulting buffer will be limited to the last
`limit` bytes after concatination.

Note: `bufferTwo` can also be a string.

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