1.0.1 • Published 7 years ago

netstring-stream v1.0.1

Weekly downloads
177
License
MIT
Repository
github
Last release
7 years ago

netstring-stream

Netstring reader/writer and streams.

Read/Write Usage

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

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

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

Transform Stream Usage

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
1.0.1

7 years ago

1.0.0

8 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago