
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
aws-sqs-connector
Advanced tools
Tired of all the hassles connecting and polling a Amazon WebService SQS? The solution is here!
npm install --save aws-sqs-connector
With CoffeeScript
SQSConnector = require 'aws-sqs-connector'
Queue = new SQSConnector
credentials: './credentials/aws.json'
queueUrl: 'http://sqs.<REGION>.amazonaws.com/<NUMBER>/queue-name'
With JavaScript
var SQSConnector = require('aws-sqs-connector');
var Queue = new SQSConnector({
credentials: './credentials/aws.json',
queueUrl: 'http://sqs.<REGION>.amazonaws.com/<NUMBER>/queue-name'
});
With CoffeeScript
# Everytime there is a new message, this callback gets executed
Queue.receive (message, fetchNext) ->
# log message
console.log message
# log attributes
console.log message.attributes
# do some processing with the message and then fetch the next message
fetchNext()
With JavaScript
Queue.receive(function(message, fetchNext) {
console.log(message);
console.log(messages.attributes);
fetchNext();
});
send MessageBody, MessageAttributes, Callback
With CoffeeScript
Queue.send 'message body', { responseRequired: true, randomNumber: 1 }, (err, response) ->
console.error(err) if err
console.log response
With JavaScript
Queue.send('message body', { responseRequired: true, randomNumber: 1 }, function(err, response) {
if (err) { console.error(err); }
console.log(response);
});
{
"accessKeyId": "YOUR_ACCESS_KEY_ID",
"secretAccessKey": "YOUR_SECRET_ACCESS_KEY",
"region": "YOUR_REGION"
}
FAQs
Amazon WebService SQS Connector
The npm package aws-sqs-connector receives a total of 1 weekly downloads. As such, aws-sqs-connector popularity was classified as not popular.
We found that aws-sqs-connector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.