{"library":"task-easy","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","queue","task","worker","job","in-memory","priority","manager","utility","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install task-easy","imports":["import { TaskEasy } from 'task-easy'","import { TaskEasy } from 'task-easy';\nconst queue = new TaskEasy(prioritizeFn);","import type { TaskEasy } from 'task-easy';\nimport { TaskEasy } from 'task-easy';"]},{"cmd":"yarn add task-easy","imports":[]},{"cmd":"pnpm add task-easy","imports":[]}],"homepage":"https://github.com/cmseaton42/task-easy#readme","github":"https://github.com/cmseaton42/task-easy","docs":null,"changelog":null,"pypi":null,"npm":"task-easy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}