Skip to content

felixge/node-stream-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-stream-cache

A simple way to cache and replay readable streams.

Usage

var StreamCache = require('stream-cache');
var fs          = require('fs');

var cache = new StreamCache();
fs.createReadStream(__filename).pipe(cache);

// Cache can now be piped anywhere, even before the readable stream finishes.
cache.pipe(process.stdout);

About

A simple way to cache and replay readable streams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published