# chop-delimited-stream

> chop a buffer stream by a buffer delimiter

Latest version **0.0.0** (published 2018-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install chop-delimited-stream
pnpm add chop-delimited-stream
yarn add chop-delimited-stream
bun add chop-delimited-stream
```

## 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.0 |
| Published | 2018-02-10 |
| First published | 2018-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Noah Anabiik Schwarz |
| Maintainers | chiefbiiko |
| Keywords | chop, stream, buffer, delimiter |

## Links

- npm: https://www.npmjs.com/package/chop-delimited-stream
- Repository: https://github.com/chiefbiiko/chop-delimited-stream
- Homepage: https://github.com/chiefbiiko/chop-delimited-stream#readme
- Issues: https://github.com/chiefbiiko/chop-delimited-stream/issues
- npm.io page: https://npm.io/package/chop-delimited-stream

## 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.0 (latest) — 2018-02-10

## README

# chop-delimited-stream

[![build status](http://img.shields.io/travis/chiefbiiko/chop-delimited-stream.svg?style=flat)](http://travis-ci.org/chiefbiiko/chop-delimited-stream) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/chiefbiiko/chop-delimited-stream?branch=master&svg=true)](https://ci.appveyor.com/project/chiefbiiko/chop-delimited-stream)

***

## Get it!

```
npm install --save chop-delimited-stream
```

***

## Usage

``` js
var chop = require('chop-delimited-stream')

var choppa = chop(Buffer.from('chop')) // delimiter must be a buffer

process.stdin.pipe(choppa).pipe(process.stdout)
```

***

## API

### `chop([delimiter][, trailing])`

Create a new choppa stream. `delimiter` must be a buffer, defaults to: `00 04 01 09 04 01 09 00`. `trailing` indicates whether to flush any non-delimited chunks at the end of the stream, defaults to `false`.

***

## License

[MIT](./license.md)

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