A TypeScript-based queue data structure implemented using a singly-linked list. Current stable version is 1.0.5. Fully tested with no known active development since 2020. Differentiator: lightweight, no dependencies, supports UMD for browser usage. Suitable for scenarios needing a simple FIFO queue with TypeScript type safety.
npm install ss-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a queue, enqueues two elements, dequeues one, checks size and emptiness, then clears the queue.
Always check queue.isEmpty() before dequeue or use optional chaining.
Use `import Queue from 'ss-queue'` (default import) instead of `import { Queue } from 'ss-queue'`.No dependency data recorded yet.