A JavaScript queue with Snowcone: FIFO without Array.shift()
Use Snowcone’s Queue in Node.js for FIFO processing and breadth-first search. Learn its API, head-index design, amortized costs, and limits.
Read guideArticles / Snowcone
Practical Snowcone JavaScript and Node.js guides, starting with the three pieces of Snowcone: a queue, a stack, and a file reader.
Use Snowcone’s Queue in Node.js for FIFO processing and breadth-first search. Learn its API, head-index design, amortized costs, and limits.
Read guideUse Snowcone’s Stack in Node.js for LIFO operations and bracket matching. See runnable examples, empty-stack behavior, and native array alternatives.
Read guideUse Snowcone readLines with for await...of to process text incrementally in Node.js. Includes error handling, early exit, batching, and memory limits.
Read guideEach guide includes installation, runnable code, exact API behavior, and situations where native JavaScript or Node.js is enough. Examples are checked against the published release.