Tiny cross-environment microtask queue scheduler (~1kB). Version 1.2.0 (stable, no recent updates). Falls back through queueMicrotask, setImmediate, process.nextTick, setTimeout. Smaller than similar libraries like nanotask, and works in browsers, Node.js, Deno, and other JS runtimes. TypeScript declarations included. Not recommended over native queueMicrotask for modern environments.
npm install quicktaskNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a microtask scheduler and queues a function to run before the next event loop iteration.
Replace with native queueMicrotask or Promise.then().
Use queueMicrotask directly for precise microtask execution.
Use `const quicktask = require('quicktask').default;` or switch to ESM import.Run `npm install quicktask` in your project root.
No dependency data recorded yet.