stream-cache
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -44,2 +44,8 @@ var Util = require('util'); | ||
StreamCache.prototype.getLength = function() { | ||
return this._buffers.reduce(function(totalLength, buffer) { | ||
return totalLength + buffer.length; | ||
}, 0); | ||
}; | ||
StreamCache.prototype.end = function() { | ||
@@ -46,0 +52,0 @@ this._dests.forEach(function(dest) { |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple way to cache and replay readable streams.", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"homepage": "https://github.com/felixge/node-stream-cache", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231301
86