# line_buffer

> An event emitting, line buffering object

Latest version **0.0.1** (published 2013-07-22) · BSD license · 0 weekly downloads

## Install

```sh
npm install line_buffer
pnpm add line_buffer
yarn add line_buffer
bun add line_buffer
```

## 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 | 2013-07-22 |
| First published | 2013-07-22 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | grahamlyons |
| Maintainers | grahamlyons |

## Links

- npm: https://www.npmjs.com/package/line_buffer
- Repository: https://github.com/grahamlyons/line_buffer
- Issues: https://github.com/grahamlyons/line_buffer/issues
- npm.io page: https://npm.io/package/line_buffer

## Recent versions

- 0.0.1 (latest) — 2013-07-22

## README

# Line Buffering Module

Example usage:

    ```javascript
    var LineBuffer = require('line_buffer'),
        fs = require('fs);

    var lb = new LineBuffer();
    lb.on('line', console.log);

    var rs = fs.createReadStream('./a-big-long-file.txt');
    rs.on('readable', function() {
        var data;
        while((data = rs.read()) != null) {
            lb.write(data);
        }
    });
    ```

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