task-easy

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A lightweight, customizable priority queue for promise-based tasks, built on a heap data structure. Version 1.0.1 is current, with TypeScript types included. It allows developers to define custom priority logic via a comparator function. Tasks are scheduled with arguments and a priority object; the queue executes tasks in order, returning a promise for each. Lightweight alternative to bulkier job queues, ideal for in-memory async task management.