{"library":"tiny-linked-queue","type":"library","category":null,"description":"A lightweight, TypeScript-friendly queue implementation using a linked list, providing O(1) enqueue and dequeue operations. Compared to native arrays, it avoids the O(n) cost of Array.shift, making it ideal for high-throughput FIFO use cases. v1.0.3 is the current stable release. Ships TypeScript declarations and supports both ESM and CommonJS via conditional exports. Minimal API surface (enqueue, dequeue, clear, size, isEmpty, head, tail) with no dependencies. Bundle size gzipped < 1KB.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","queue","linked-list","tiny","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tiny-linked-queue","imports":["import Queue from 'tiny-linked-queue';","import type Queue from 'tiny-linked-queue';"]},{"cmd":"yarn add tiny-linked-queue","imports":[]},{"cmd":"pnpm add tiny-linked-queue","imports":[]}],"homepage":"https://github.com/jinghua000/tiny-linked-queue#readme","github":"https://github.com/jinghua000/tiny-linked-queue","docs":null,"changelog":null,"pypi":null,"npm":"tiny-linked-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}