1.0.1 • Published 6 years ago

netstring-stream v1.0.1

Weekly downloads
177
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.0

7 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago