A fast FIFO queue for Node.js that uses a two-array cycling strategy to avoid the O(n) reindexing cost of Array.shift() on large queues. Version 0.1.0 is the only release, currently in maintenance mode. Key differentiator: implements only push/shift/unshift/length with minimal overhead, unlike alternatives like denque or double-ended-queue which offer more features.
npm install fastqueueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic FIFO queue operations: push, shift, unshift, and length property.
Use require() instead of import.
Check if these features are needed; consider using denque or double-ended-queue for richer API.
Test thoroughly if using with very large queues; consider using a well-maintained alternative.
Run 'npm install fastqueue' and ensure the module name is lowercase.
Replace 'import Queue from "fastqueue"' with 'const Queue = require("fastqueue")'.No dependency data recorded yet.