A simple way to cache and replay readable streams.
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);
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more