Show HN: Lfi – a lazy functional sync, async, and concurrent iteration library

Hey HN!

Roughly 4 years ago I started building a lazy functional iteration library for JS/TS.

I had a few goals for the library:

- Supporting sync, sequential async, and concurrent async iteration

- Limiting it to a small number of orthogonal concepts that compose beautifully to solve problems

- Making it fully tree-shakeable

I built it for myself and have (mostly) been its only user as I refined it. I've used it in lots of personal projects and really enjoyed it.

I recently decided it would be nice to spread that enjoyment so I created a documentation website complete with a playground where you can try out the library.

I hope you enjoy using it as much as I do! Looking forward to hearing your thoughts :)


Comments URL: https://news.ycombinator.com/item?id=42392267

Points: 14

# Comments: 1

https://lfi.dev/

Created 1mo | Dec 12, 2024, 6:30:24 PM


Login to add comment

Other posts in this group

Ask HN: How can I realistically change careers?

I’ve spent almost two decades in digital-focused roles, specialising in strategy, user research, and creating frameworks for better customer experiences (ostensibly UX I suppose).

While I’ve fou

Jan 17, 2025, 12:20:12 PM | Hacker news
Show HN: I built a credit-based system API

Hey HN! I'm a solo developer who's been building web apps for the past two years. I kept seeing other devs struggle with clunky credit systems for usage-based pricing.

So, I decided to build Cre

Jan 17, 2025, 12:20:11 PM | Hacker news