https://github.com/iterable-iterator/consume
:bicyclist: Iterable consumption for JavaScript
https://github.com/iterable-iterator/consume
Last synced: about 1 year ago
JSON representation
:bicyclist: Iterable consumption for JavaScript
- Host: GitHub
- URL: https://github.com/iterable-iterator/consume
- Owner: iterable-iterator
- License: agpl-3.0
- Created: 2021-05-01T16:32:42.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T06:11:26.000Z (about 1 year ago)
- Last Synced: 2025-04-12T07:23:17.106Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://iterable-iterator.github.io/consume
- Size: 2.41 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:bicyclist: [@iterable-iterator/consume](https://iterable-iterator.github.io/consume)
==
Iterable consumption for JavaScript.
See [docs](https://iterable-iterator.github.io/consume/index.html).
```js
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 ...
```
[](https://raw.githubusercontent.com/iterable-iterator/consume/main/LICENSE)
[](https://www.npmjs.org/package/@iterable-iterator/consume)
[](https://github.com/iterable-iterator/consume/actions/workflows/ci.yml?query=branch:main)
[](https://github.com/iterable-iterator/consume/network/dependencies)
[](https://github.com/iterable-iterator/consume/issues)
[](https://www.npmjs.org/package/@iterable-iterator/consume)
[](https://codeclimate.com/github/iterable-iterator/consume/issues)
[](https://codeclimate.com/github/iterable-iterator/consume/trends/churn)
[](https://codecov.io/gh/iterable-iterator/consume)
[](https://codeclimate.com/github/iterable-iterator/consume/trends/technical_debt)
[](https://iterable-iterator.github.io/consume/source.html)
[](https://bundlephobia.com/result?p=@iterable-iterator/consume)