stream-cache
A simple way to cache and replay readable streams.
Last updated 15 years ago by felixge .
Repository · Original npm · Tarball · package.json
$ npm install stream-cache 
SYNC missed versions from official npm registry.

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);

Current Tags

  • 0.0.2                                ...           latest (15 years ago)

2 Versions

  • 0.0.2                                ...           15 years ago
  • 0.0.1                                ...           15 years ago
Maintainers (1)
Downloads
Total 8
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE