Lfi
🦥 A lazy functional iteration library supporting sync, async, and concurrent iteration.
Install / Use
/learn @TomerAberbach/LfiREADME
<div align="center">
<img src="https://github.com/TomerAberbach/lfi/blob/main/sloth.svg" alt="Sloth juggling office supplies" width="400" />
</div>
<h1 align="center">
lfi
</h1>
<div align="center">
<a href="https://npmjs.org/package/lfi">
<img src="https://badgen.now.sh/npm/v/lfi" alt="version" />
</a>
<a href="https://github.com/TomerAberbach/lfi/actions">
<img src="https://github.com/TomerAberbach/lfi/workflows/CI/badge.svg" alt="CI" />
</a>
<a href="https://unpkg.com/lfi/dist/index.min.js">
<img src="https://deno.bundlejs.com/?q=lfi&badge" alt="gzip size" />
</a>
<a href="https://unpkg.com/lfi/dist/index.min.js">
<img src="https://deno.bundlejs.com/?q=lfi&config={%22compression%22:{%22type%22:%22brotli%22}}&badge" alt="brotli size" />
</a>
<a href="https://github.com/sponsors/TomerAberbach">
<img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" alt="Sponsor" />
</a>
</div>
<div align="center">
A <b>l</b>azy <b>f</b>unctional <b>i</b>teration library supporting sync, async, and concurrent iteration.
</div>
Features
- Lazy: delays applying operations until their results are needed
- Functional: provides highly composable functions
- Iteration: supports sync iterables, async iterables, and unique concurrent iterables
- Async & Concurrent: apply async operations sequentially over async iterables or concurrently over concurrent iterables
- Tree Shakeable: only bundle the code you actually use!
- Adorable Logo: designed by Jill Marbach!
Getting started
Check out the documentation at lfi.dev!
Contributing
Stars are always welcome!
For bugs and feature requests, please create an issue.
