Gathering detailed insights and metrics for @devplace/sqs-producer
Gathering detailed insights and metrics for @devplace/sqs-producer
Gathering detailed insights and metrics for @devplace/sqs-producer
Gathering detailed insights and metrics for @devplace/sqs-producer
npm install @devplace/sqs-producer
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
16 Commits
1 Watching
1 Branches
1 Contributors
Updated on 30 Apr 2021
TypeScript (97.99%)
JavaScript (2.01%)
Cumulative downloads
Total Downloads
Last day
100%
2
Compared to previous day
Last week
33.3%
8
Compared to previous week
Last month
-28%
36
Compared to previous month
Last year
-16.5%
222
Compared to previous year
2
4
SQS producer for fifo and standard queues.
Usefull to send async jobs.
yarn add @devplace/sqs-producer
Configure your env vars:
1 AWS_SQS_REGION=YOUR-AWS-SQS-REGION-DEFAULTS-TO-US-EAST-1 2 AWS_SQS_ACCESS_KEY_ID=YOUR-AWS-SQS-ACCESS-KEY 3 AWS_SQS_SECRET_ACCESS_KEY=YOUR-AWS-SQS-SECRET-KEY
1const { SqsService } = require('@devplace/sqs-producer') 2// import { SqsService } from '@devplace/sqs-producer' // Typescript approach 3 4const client = new SqsService() 5 6// function send(input: MessageInput){ // Typescript approach 7function send(input){ 8 await client.send(input); 9} 10 11// Call standard queue 12send({ 13 queueUrl: "queueUrl", // Required 14 data: { foo: 'bar' } // Required 15}); 16 17// Call fifo queue (detected automatically by the URL of queue) 18send({ 19 queueUrl: "queueUrl.fifo", // Required 20 data: { foo: "bar" }, // Required 21}); 22 23// Call batch 24send({ 25 queueUrl: "queueUrl", // Required (or queueUrl.fifo) 26 data: [{ foo: 'bar' }, { foo2: 'bar2' }] // Chunked automatically (AWS limit is 10 jobs per call) 27}); 28
1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Effect": "Allow", 6 "Action": "sqs:SendMessage", 7 "Resource": "*" 8 } 9 ] 10}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More