# netstring-stream

> Netstring reader/writer and streams.

Latest version **1.0.1** (published 2018-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install netstring-stream
pnpm add netstring-stream
yarn add netstring-stream
bun add netstring-stream
```

## 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.1 |
| Published | 2018-03-13 |
| First published | 2014-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Trevor Livingston |
| Maintainers | tlivings |

## Links

- npm: https://www.npmjs.com/package/netstring-stream
- Repository: https://github.com/tlivings/netstring-stream
- Homepage: https://github.com/tlivings/netstring-stream#readme
- Issues: http://github.com/tlivings/netstring-stream/issues
- npm.io page: https://npm.io/package/netstring-stream

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) ^2.0.3

## Recent versions

- 1.0.1 (latest) — 2018-03-13
- 1.0.0 — 2017-03-26
- 0.1.2 — 2014-12-01
- 0.1.1 — 2014-12-01
- 0.1.0 — 2014-12-01

## README

# netstring-stream

Netstring reader/writer and streams.

### Read/Write Usage

```javascript
var Netstring = require('netstring-stream');

Netstring.write('hello world!'); //12:hello world!,

Netstring.read('12:hello world!,'); //hello world!
```

### Transform Stream Usage

```javascript
var writer = Netstring.writeStream();

writer.pipe(Netstring.readStream()).pipe(process.stdout);

writer.write('hello world!');
writer.write('goodbye!');

writer.end();
```

### Debuglog

```
export NODE_DEBUG=nstring
```

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