Popularity
3.0
Stable
Activity
6.5
Growing
167
30
46
Code Quality Rank:
L5
Programming language: TypeScript
License: GNU General Public License v3.0 or later
Latest version: v2.0.0
sqs-producer alternatives and similar modules
Based on the "Web Frameworks" category.
Alternatively, view sqs-producer alternatives based on common mentions on social networks and blogs.
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) ๐ -
Nuxt.js
Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt] -
egg
๐ฅ Born to build better enterprise frameworks and apps with Node.js & Koa -
AdonisJs Framework
๐ The Node.js Framework highly focused on developer ergonomics, stability and confidence -
TypeGraphQL
Create GraphQL schema and resolvers with TypeScript, using classes and decorators! -
Quick Start
๐ A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. ๐ -
MERN
โ๏ธ DEPRECATED - Boilerplate for getting started with MERN stack -
ThinkJS
Use full ES2015+ features to develop Node.js applications, Support TypeScript. -
Moleculer
:rocket: Progressive microservices framework for Node.js -
LoopBack
LoopBack makes it easy to build modern API applications that require complex integrations. -
Derby
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers -
ActionHero
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks -
Lad
Node.js framework made by a former @expressjs TC and @koajs team member. Built for @forwardemail, @spamscanner, @breejs, @cabinjs, and @lassjs. -
tinyhttp
๐ฆ 0-legacy, tiny & fast web framework as a replacement of Express -
sqs-consumer
Build Amazon Simple Queue Service (SQS) based applications without the boilerplate -
Marble.js
Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS. -
FoalTS
Full-featured Node.js framework, with no complexity. ๐ Simple and easy to use, TypeScript-based and well-documented. -
Trails
:evergreen_tree: Modern Web Application Framework for Node.js. -
NestJS REST API boilerplate
NestJS boilerplate. Auth, TypeORM, Postgres, Mailing, I18N, Docker. -
modern-errors
Handle errors in a simple, stable, consistent way -
lychee.js
:seedling: Next-Gen AI-Assisted Isomorphic Application Engine for Embedded, Console, Mobile, Server and Desktop -
Hemera
๐ฌ Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/ -
Catberry
Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering. -
Interfake
:computer: Fake APIs for prototypes & automated tests. -
dawson-cli
A serverless web framework for Node.js on AWS (CloudFormation, CloudFront, API Gateway, Lambda) -
AdonisJs Application
This repo is the pre-configured project structure to be used for creating ambitious web servers using AdonisJs. -
Perk
A well documented set of tools for building node web applications. -
Zeronode
Zeronode - minimal building block for NodeJS microservices -
Restberry
Framework for setting up RESTful JSON APIs with NodeJS. -
QueryQL
Easily add filtering, sorting, and pagination to your Node.js REST API through your old friend: the query string! -
express-version-route
A Node.js express middleware that implements API versioning for route controllers -
FortJs
Component based MVC web framework for nodejs targeting good code structures & modularity. -
khalis
Grab Blogger & Google Photos, mp4upload.com,cloudvideo.tv, etc streaming link -
Coher3nTS Project
Cross-platform project template using Electron and Angular with the Phaser game engine. Project has Flexbox integrated for easy and responsive organization of components around the Phaser canvas. -
AWS Lambda Router for NodeJS
AWS Lambda router for NodeJS
AWS Cloud-aware infrastructure-from-code toolbox [NEW]
Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
Promo
klo.dev
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of sqs-producer or a related project?
README
sqs-producer
Enqueues messages onto a given SQS queue
Installation
npm install sqs-producer
Usage
const { Producer } = require('sqs-producer');
// create simple producer
const producer = Producer.create({
queueUrl: 'https://sqs.eu-west-1.amazonaws.com/account-id/queue-name',
region: 'eu-west-1'
});
// create custom producer (supporting all opts as per the API docs: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SQS.html#constructor-property)
const producer = Producer.create({
queueUrl: 'https://sqs.eu-west-1.amazonaws.com/account-id/queue-name',
region: 'eu-west-1',
accessKeyId: 'yourAccessKey',
secretAccessKey: 'yourSecret'
});
// send messages to the queue
await producer.send(['msg1', 'msg2']);
// get the current size of the queue
const size = await producer.queueSize();
console.log(`There are ${size} messages on the queue.`);
// send a message to the queue with a specific ID (by default the body is used as the ID)
await producer.send([{
id: 'id1',
body: 'Hello world'
}]);
// send a message to the queue with
// - delaySeconds (must be an number contained within 0 and 900)
// - messageAttributes
await producer.send([
{
id: 'id1',
body: 'Hello world with two string attributes: attr1 and attr2',
messageAttributes: {
attr1: { DataType: 'String', StringValue: 'stringValue' },
attr2: { DataType: 'Binary', BinaryValue: new Buffer('binaryValue') }
}
},
{
id: 'id2',
body: 'Hello world delayed by 5 seconds',
delaySeconds: 5
}
]);
// send a message to a FIFO queue
//
// note that AWS FIFO queues require two additional params:
// - groupId (string)
// - deduplicationId (string)
//
// deduplicationId can be excluded if content-based deduplication is enabled
//
// http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html
await producer.send({
id: "testId",
body: 'Hello world from our FIFO queue!',
groupId: 'group1234',
deduplicationId: 'abcdef123456' // typically a hash of the message body
});
Development
Test
npm test
Coverage
For coverage report, run the command:
npm run coverage
Lint
To check for problems using ESLint
npm run lint
Contributing
See [contributing guildlines](./.github/CONTRIBUTING.md)