stream-read
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -0,3 +1,5 @@ | ||
var dz = require('dezalgo'); | ||
module.exports = function read(stream, cb) { | ||
cb = dz(cb); | ||
return typeof stream.read == 'function' | ||
@@ -4,0 +6,0 @@ ? read2(stream, cb) |
{ | ||
"name": "stream-read", | ||
"description": "Read from a stream, callback style", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"repository": "micnews/stream-read", | ||
@@ -9,3 +9,6 @@ "license": "MIT", | ||
"tape": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
"dezalgo": "^1.0.1" | ||
} | ||
} |
2036
63
1
+ Addeddezalgo@^1.0.1
+ Addedasap@2.0.6(transitive)
+ Addeddezalgo@1.0.4(transitive)
+ Addedwrappy@1.0.2(transitive)