async-iterable-iterator/async-iterable-to-array

View on GitHub
README.md

Summary

Maintainability
Test Coverage
:dango: [@async-iterable-iterator/async-iterable-to-array](https://async-iterable-iterator.github.io/async-iterable-to-array)
==

AsyncIterable to Array conversion for JavaScript.
See [docs](https://async-iterable-iterator.github.io/async-iterable-to-array/index.html).

> :warning: Depending on your environment, the code may require
> `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).

```js
import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array';

let asyncIterable = ...;
let array = await asyncIterableToArray(asyncIterable);
```

[![License](https://img.shields.io/github/license/async-iterable-iterator/async-iterable-to-array.svg)](https://raw.githubusercontent.com/async-iterable-iterator/async-iterable-to-array/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@async-iterable-iterator/async-iterable-to-array.svg)](https://www.npmjs.org/package/@async-iterable-iterator/async-iterable-to-array)
[![Tests](https://img.shields.io/github/actions/workflow/status/async-iterable-iterator/async-iterable-to-array/ci.yml?branch=main&event=push&label=tests)](https://github.com/async-iterable-iterator/async-iterable-to-array/actions/workflows/ci.yml?query=branch:main)
[![Dependencies](https://img.shields.io/librariesio/github/async-iterable-iterator/async-iterable-to-array.svg)](https://github.com/async-iterable-iterator/async-iterable-to-array/network/dependencies)
[![GitHub issues](https://img.shields.io/github/issues/async-iterable-iterator/async-iterable-to-array.svg)](https://github.com/async-iterable-iterator/async-iterable-to-array/issues)
[![Downloads](https://img.shields.io/npm/dm/@async-iterable-iterator/async-iterable-to-array.svg)](https://www.npmjs.org/package/@async-iterable-iterator/async-iterable-to-array)

[![Code issues](https://img.shields.io/codeclimate/issues/async-iterable-iterator/async-iterable-to-array.svg)](https://codeclimate.com/github/async-iterable-iterator/async-iterable-to-array/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/async-iterable-iterator/async-iterable-to-array.svg)](https://codeclimate.com/github/async-iterable-iterator/async-iterable-to-array/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/async-iterable-iterator/async-iterable-to-array/main.svg)](https://codecov.io/gh/async-iterable-iterator/async-iterable-to-array)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/async-iterable-iterator/async-iterable-to-array.svg)](https://codeclimate.com/github/async-iterable-iterator/async-iterable-to-array/trends/technical_debt)
[![Documentation](https://async-iterable-iterator.github.io/async-iterable-to-array/badge.svg)](https://async-iterable-iterator.github.io/async-iterable-to-array/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@async-iterable-iterator/async-iterable-to-array)](https://bundlephobia.com/result?p=@async-iterable-iterator/async-iterable-to-array)