iterable-iterator/round-robin

View on GitHub
README.md

Summary

Maintainability
Test Coverage
:carousel_horse: [@iterable-iterator/round-robin](https://iterable-iterator.github.io/round-robin)
==

Iterable round-robin for JavaScript.
See [docs](https://iterable-iterator.github.io/round-robin/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 {roundRobin} from '@iterable-iterator/round-robin';
roundRobin( [ "ABC" , "D" , "EF" ] ) ; // A D E B F C
```

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

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