Queue-Port is an HTTP-based queue server library for Node.js (v0.0.6, latest) implementing a basic FIFO queue based on the Actor Model. It allows enqueuing and dequeuing items by named queues via REST API, with support for blocking dequeue with configurable timeouts (indefinite, immediate, or milliseconds). Key differentiators include a built-in optional dashboard server for monitoring queues/waiters and a simple HTTP interface without external dependencies. Written in TypeScript with type definitions. Currently in early development with limited features compared to mature solutions like Bull or Bee-Queue.
npm install queue-portNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts the Queue-Port HTTP server with default settings, enabling enqueue/dequeue operations via REST API.
Always handle the returned promise with .then()/.catch() or surround with async/await and try/catch.
Set a positive timeout or 0 to avoid indefinite blocking, or ensure clients will eventually provide items.
Run behind a reverse proxy with authentication or add middleware manually.
Pin exact version in package.json and monitor releases for breaking changes.
Stop the other process using the port, or specify a different port in the options.
Pass an empty object or undefined: queuePort.start() or queuePort.start({}).Use dynamic import: const queuePort = await import('queue-port'); or set type: module in package.json.No dependency data recorded yet.