A writeFile queue for Node.js that retries writing to a file after errors, with configurable retries and wait time. Version 0.0.1 is a minimal package released under MIT license. It is designed for simple scenarios where file writes may intermittently fail (e.g., writing to a removable device). The queue delays writes by a specified waitTime and retries up to retries times. No dependencies, no TypeScript support, and no active maintenance since 2014.
npm install write-file-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install and use the package: create a queue with retries and waitTime, then write a file with retry logic.
Consider alternatives like fs-extra's writeFile or custom retry logic with modern async/await.
Always pass an options object with at least retries and waitTime.
Use the debug option to log intermediate errors.
Use const createWriteFile = require('write-file-queue'); then call createWriteFile(options).Run: npm install write-file-queue
No dependency data recorded yet.