FSqu implements job queues on top of a regular filesystem, where a queue is a directory and each element is a file. Version 1.1.3 is the latest stable release, with no frequent updates. It supports delays/scheduling, at-most-once and at-least-once delivery models, and direct file addition via mv. It is designed for single-machine pipelines that handle large files, and uses the `debug` module for logging. Key differentiators: constant-time operations regardless of queue size, no external dependencies beyond Node.js core modules, and survives process restarts.
npm install fsquNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates queue initialization, pushing data, popping entries, and reading the landing location.
Do not rely on strict ordering. Use if order is critical.
Set `landing` to a directory on the same filesystem as the queue to avoid cross-device moves.
Always pass a callback function to pushData, pushStream, pushFile.
Ensure id contains only lowercase alphanumeric characters.
Always call `q.init(callback)` before using the queue.
Use `new FSqu.fsqu(opts)` instead.
Always pass a function as the last argument to pushData/pushStream/pushFile.
Use only lowercase letters and digits (0-9, a-z) for id.