Skip to content
No description or website provided.
JavaScript
Find file
Failed to load latest commit information.
files
slides more updates to slides
streams
.gitignore
LICENSE add license
README.md
console-logger-example.js move streams into sub folder and update examples
data-collector-example.js
file-logger-example.js move streams into sub folder and update examples
for-humans.js dd for humans utility
gzipper-example1.js split gzipper examples
gzipper-example2.js
upload-example-form.html add upload example
upload-example1.js minor updates to upload examples
upload-example2.js

README.md

For my NodeConf 2012 talk, I put together some simple custom streams to show the power of the Stream API.

Custom Streams

Collector

A stream that collects data into memory. The data can be retrieved along with the number of bytes written. It is a read-write stream, so data will also be passed through.

LogStream

A stream that simply logs any data input to the console. It is a read- write stream, so data will also be passed through.

FileLogStream

A stream that takes a file path and logs any data input to that file. It is a read-write stream, so data will also be passed through.

GZipStream

A stream that runs incoming data through the gzip deflate algorithm and outputs compressed data.

Something went wrong with that request. Please try again.