stream-cache
A simple way to cache and replay readable streams.
Last updated 13 years ago by felixge .
Repository · Original npm
$ cnpm 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 (13 years ago)

1 Versions

  • 0.0.2                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org