async-iterator-to-stream
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,4 @@ "use strict"; | ||
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); | ||
var _symbol = _interopRequireDefault(require("@babel/runtime/core-js/symbol")); | ||
@@ -100,3 +102,3 @@ | ||
module.exports = function asyncIteratorToStream(iterable, options) { | ||
function asyncIteratorToStream(iterable, options) { | ||
if (typeof iterable === 'function') { | ||
@@ -259,3 +261,11 @@ return function () { | ||
return readable; | ||
} | ||
module.exports = asyncIteratorToStream; | ||
asyncIteratorToStream.obj = function (iterable, options) { | ||
return asyncIteratorToStream(iterable, (0, _extends2.default)({ | ||
objectMode: true | ||
}, options)); | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "async-iterator-to-stream", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "description": "Convert an async iterator/iterable to a readable stream", |
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
18565
209