# @aureooms/js-itertools

> Iterable and iterator library for JavaScript

Latest version **5.1.1** (published 2021-04-15) · AGPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @aureooms/js-itertools
pnpm add @aureooms/js-itertools
yarn add @aureooms/js-itertools
bun add @aureooms/js-itertools
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.1.1 |
| Published | 2021-04-15 |
| First published | 2017-02-16 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 770.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 20 |
| Author | Aurélien Ooms |
| Maintainers | aureooms |
| Keywords | chain, combinations, filter, iter, iterable, iterator, list, map, permutations, product, reduce |

## Links

- npm: https://www.npmjs.com/package/@aureooms/js-itertools
- Repository: https://github.com/aureooms/js-itertools
- Homepage: https://aureooms.github.io/js-itertools
- Issues: https://github.com/aureooms/js-itertools/issues
- npm.io page: https://npm.io/package/@aureooms/js-itertools

## Dependencies (2)

- [@aureooms/js-error](https://npm.io/package/@aureooms/js-error.md) ^5.0.3
- [@aureooms/js-collections-deque](https://npm.io/package/@aureooms/js-collections-deque.md) ^7.0.0

## Recent versions

- 5.1.1 (latest) — 2021-04-15
- 5.1.0 — 2021-03-25
- 5.0.2 — 2021-03-20
- 5.0.1 — 2021-03-18
- 5.0.0 — 2021-03-18
- 4.1.0 — 2020-08-05
- 4.0.1 — 2020-08-03
- 4.0.0 — 2020-04-29
- 3.4.0 — 2017-09-04
- 3.3.0 — 2017-05-04
- 3.2.1 — 2017-04-20
- 3.2.0 — 2017-04-20
- 3.1.1 — 2017-02-16

## README

# :hammer_and_wrench: [@aureooms/js-itertools](https://aureooms.github.io/js-itertools)

<p align="center">
<a href="https://xkcd.com/353">
<img src="https://imgs.xkcd.com/comics/python.png" width="450">
</a><br/>
© <a href="https://xkcd.com">xkcd.com</a>
</p>

Python's iterable and iterator library for JavaScript.
See [docs](https://aureooms.github.io/js-itertools).
Parent is [@aureooms/js-library](https://github.com/aureooms/js-library).

> :warning: The code requires `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).

```js
cycle( chain( [ [ 0 , 1 , 2 ] , [ 3 , 4 , 5 ] ] ) ) ; // 0 1 2 3 4 5 0 1 ...
```

[![License](https://img.shields.io/github/license/aureooms/js-itertools.svg)](https://raw.githubusercontent.com/aureooms/js-itertools/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@aureooms/js-itertools.svg)](https://www.npmjs.org/package/@aureooms/js-itertools)
[![Tests](https://img.shields.io/github/workflow/status/aureooms/js-itertools/ci:test?event=push&label=tests)](https://github.com/aureooms/js-itertools/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/aureooms/js-itertools.svg)](https://david-dm.org/aureooms/js-itertools)
[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-itertools.svg)](https://david-dm.org/aureooms/js-itertools?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-itertools.svg)](https://github.com/aureooms/js-itertools/issues)
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-itertools.svg)](https://www.npmjs.org/package/@aureooms/js-itertools)

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

## :link: References in Python and JavaScript

  - https://docs.python.org/3/library/itertools.html
  - http://mochi.github.io/mochikit/doc/html/MochiKit/Iter.html
  - https://github.com/cweider/js-itertools
  - http://itertoolsjs.com
  - https://github.com/thegoleffect/node-itertools
  - http://rfw.name/sloth.js
  - https://github.com/lodash/lodash
  - https://github.com/erikrose/more-itertools
  - https://github.com/StreetStrider/aux.js

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