combine-async-iterators
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "combine-async-iterators", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Combine Multiple Asynchronous Iterators in one (not a sequence)", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=11" | ||
"node": ">=12" | ||
}, | ||
@@ -42,6 +42,6 @@ "repository": { | ||
"@slimio/is": "^1.5.1", | ||
"@types/node": "^14.6.1", | ||
"japa": "^3.1.1", | ||
"sinon": "^9.0.2" | ||
"@types/node": "^16.11.6", | ||
"japa": "^4.0.0", | ||
"sinon": "^11.1.2" | ||
} | ||
} |
# Combine-async-iterators | ||
![version](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/fraxken/combine-async-iterators/master/package.json&query=$.version&label=Version) | ||
![MIT](https://img.shields.io/github/license/mashape/apistatus.svg) | ||
![dep](https://img.shields.io/david/fraxken/combine-async-iterators) | ||
![size](https://img.shields.io/bundlephobia/min/combine-async-iterators) | ||
@@ -13,3 +12,3 @@ [![Known Vulnerabilities](https://snyk.io//test/github/fraxken/combine-async-iterators/badge.svg?targetFile=package.json)](https://snyk.io//test/github/fraxken/combine-async-iterators?targetFile=package.json) | ||
## Requirements | ||
- [Node.js](https://nodejs.org/en/) version 11 or higher | ||
- [Node.js](https://nodejs.org/en/) version 12 or higher | ||
@@ -41,3 +40,3 @@ ## Getting Started | ||
async function main() { | ||
const asyncIterator = combineAsyncIterators(getValues("first"), getValues("second")); | ||
const asyncIterator = combineAsyncIterators({}, getValues("first"), getValues("second")); | ||
for await (const value of asyncIterator) { | ||
@@ -44,0 +43,0 @@ console.log(value); |
7204
86