# bbc/sqs-consumer

Build Amazon Simple Queue Service (SQS) based applications without the boilerplate

Repository: https://github.com/bbc/sqs-consumer
Canonical: https://ross.abutalabs.com/products/sqs-consumer
Homepage: https://bbc.github.io/sqs-consumer/
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: sqs, nodejs, ignorearchive, aws-sqs, backend, message-queue, queue-consumer, serverless
Last push: 2026-08-24T01:35:27+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 4276, "days_push": 10, "days_rel": 47, "gap_med": 22.0, "n_releases_24m": 25}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1907, forks 334 (observed 2026-08-28T04:05:52.626246+00:00)

## What it is
A Node.js/TypeScript library that wraps Amazon SQS into a simple consumer API, letting developers define an async message handler without boilerplate polling and acknowledgment code. It handles long polling, sequential or batched parallel processing, and configurable message acknowledgment and deletion.

## Use cases
- consume messages from an AWS SQS queue in Node.js
- build a worker that processes SQS messages without boilerplate
- run background job processing backed by Amazon SQS
- process SQS messages in parallel with configurable batch size
- control when SQS messages are acknowledged and deleted from the queue
- deploy a serverless-style SQS consumer on AWS

## When to choose
- You use Amazon SQS and want a maintained, minimal consumer library instead of hand-writing polling and delete logic
- You need fine-grained control over message acknowledgment, retries, and batch processing
- You want a lightweight alternative to heavier job-queue frameworks when AWS SQS is already your queue

## When to avoid
- You are not using AWS SQS (e.g., RabbitMQ, Kafka, Redis-based queues)
- You need a full job-queue system with scheduling, dashboards, or persistence beyond what SQS provides
- You are not on a JavaScript runtime (Node.js or compatible)

## Facets
- artifact type: library
- maturity: active
- function: message-queue
- domain: backend, cloud-computing, developer-tools
- platform: serverless, cloud
- tags: aws, sqs, queue-consumer, typescript, long-polling, event-driven, npm-package, messaging, nodejs, deno

## Member repositories
- bbc/sqs-consumer (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:52.626246+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:15.483088+00:00, confidence not recorded.
  - readme: https://github.com/bbc/sqs-consumer (fetched 2026-08-28T04:05:52.626246+00:00, sha 7fa821697726)
  - homepage: https://bbc.github.io/sqs-consumer/ (fetched 2026-08-29T10:50:44.738542+00:00, sha f5447072e8e4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
