A TypeScript client library for interacting with the Enversio queue system, currently at version 0.0.46. This package provides methods to enqueue, dequeue, and manage queue messages. It is in early development with frequent updates. Compared to other queue clients, it is specifically designed for the Enversio ecosystem. The library ships TypeScript declarations and supports both ESM and CommonJS usage.
npm install enversio-queue-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a QueueClient, enqueues a JSON message, dequeues it, and acknowledges receipt.
Pass options as config object with baseUrl and apiKey fields.
Use await client.enqueue(queue, message) without callback.
Wrap API calls in try-catch and implement retry logic.
Verify queue name with server admin.
Use import { QueueClient } from 'enversio-queue-client'.Ensure server is running and set QUEUE_BASE_URL environment variable.