# js-interleave

> Get an array with first item in each iterable collection, then the second etc.

Latest version **1.0.1** (published 2015-10-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-interleave
pnpm add js-interleave
yarn add js-interleave
bun add js-interleave
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-06 |
| First published | 2015-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Roman Liutikov |
| Maintainers | roman01la |
| Keywords | interleave |

## Links

- npm: https://www.npmjs.com/package/js-interleave
- Repository: https://github.com/roman01la/js-interleave
- Homepage: https://github.com/roman01la/js-interleave#readme
- Issues: https://github.com/roman01la/js-interleave/issues
- npm.io page: https://npm.io/package/js-interleave

## Dependencies (2)

- [js-head](https://npm.io/package/js-head.md) ^1.0.1
- [js-tail](https://npm.io/package/js-tail.md) ^1.0.1

## Recent versions

- 1.0.1 (latest) — 2015-10-06
- 1.0.0 — 2015-10-06

## README

# js-interleave
Get an array with first item in each iterable collection, then the second etc.

## Installation

```
$ npm i js-interleave
```

## Usage

```javascript
import interleave from 'js-interleave';

interleave([1, 2], [3, 4]); // [1, 3, 2, 4]
interleave(new Set([1, 2]), new Set([3, 4])); // [1, 3, 2, 4]
interleave(Immutable.List([1, 2]), Immutable.List([3, 4])); // [1, 3, 2, 4]
```

---
_Source: https://npm.io/package/js-interleave · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
