Introducing yieldy-for-loop: an npm package to keep your loops non-blocking (and your UI smooth)

A tiny utility to help you process large loops in JavaScript without freezing the UI. Inspired by Rick Viscomi's article “Breaking up with long tasks, or how I learned to group loops and wield the yield”, yieldy-for-loop periodically yields control to the browser so your app stays responsive.