Skip to content

iterable-iterator/consume

Repository files navigation

Iterable consumption for JavaScript. See docs.

import {exhaust} from '@iterable-iterator/consume';
import {map} from '@iterable-iterator/map';
import {range} from '@iterable-iterator/range';
exhaust(map((i) => {console.log(i)}, range(10))); // 0 1 2 ...

License Version Tests Dependencies GitHub issues Downloads

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