{"library":"file-queue","type":"library","category":null,"description":"A file system-based FIFO queue implemented using the maildir format, providing lockfree operations for durability and simplicity. Version 0.3.0 is the latest release (last updated in 2014). The library supports push, pop (with blocking on empty queues), transactional pop (tpop) with commit/rollback, length, and clear operations. Objects are serialized as JSON. It is designed for environments where a lightweight, filesystem-backed queue is needed. Alternatives like better-queue or bull use databases or Redis; file-queue is purely filesystem-based with no external dependencies. The package is in maintenance mode but still functional for Node.js projects.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","queue","file","fs","maildir","directory","lockfree"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install file-queue","imports":["import Queue from 'file-queue'","import { Queue } from 'file-queue'","import { Queue } from 'file-queue'; new Queue({ path: 'queue', fs: require('graceful-fs') }, callback)"]},{"cmd":"yarn add file-queue","imports":[]},{"cmd":"pnpm add file-queue","imports":[]}],"homepage":"https://github.com/threez/file-queue#readme","github":"https://github.com/threez/file-queue","docs":null,"changelog":null,"pypi":null,"npm":"file-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}