Home Manual Reference Source

Overview

Installation

Can be managed using yarn, npm, or jspm.

yarn

yarn add @iterable-iterator/consume

npm

npm install @iterable-iterator/consume --save

jspm

jspm install npm:@iterable-iterator/consume

Usage

Import the library where needed

const {consume, exhaust} = await import( '@iterable-iterator/consume' ) ;
// or
import {consume, exhaust} from '@iterable-iterator/consume' ;

Examples

More examples in the test files.