@aureooms/js-itertools

Iterable and iterator library for JavaScript


Keywords
chain, combinations, filter, iter, iterable, iterator, list, map, permutations, product, reduce, agpl, javascript, js, loop
License
AGPL-3.0
Install
npm install @aureooms/js-itertools@5.1.1

Documentation

@aureooms/js-itertools

Python's iterable and iterator library for JavaScript. See docs. Parent is @aureooms/js-library.

⚠️ The code requires regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

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

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

References in Python and JavaScript