
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
This easy manager provides the basic functionality to use Amazon SQS in production enviroment and RabbitMQ in development enviroment.
To start using it just clone it or install it via npm npm install off-sqs-debearloper
.
You need to add yours AWS keys in a JSON file, something like this:
{
"accessKeyId": "STRING",
"secretAccessKey": "STRING",
"region": "STRING"
}
Note: that every operation checks first if the Queue exists, if not it'll create it.**
To work with RabbitMQ, you need to install the Server. We recommend you to do it with homebrew, so you dont have to set up the server manually when you are in the development environment.
Before installing make sure you have the latest brews: brew update
Then, install RabbitMQ server with:
brew install rabbitmq
development
is the enviroment by default.
If you want to use production
or qa
execute your node app in this way:
NODE_ENV=production node yourApp.js
//or
NODE_ENV=qa node yourApp.js
var Nibi = require('nibi');
var nibi = new Nibi();
if you want to use AmazonSQS with this modul, you need make this
//require your own aws json file
var myAwsConfigFile = require('./myAwsConfigFile');
nibi.configure({
awsConfigFile: myAwsConfigFile
});
Usage:
offSqs.sender('myQueueName', ["foo": "bar"]);
##Receiver()
receiver
a function and queueUrl
a string.Usage:
offSqs.receiver('myQueue', yourDataManager);
Note: Where
yourDataManager
is a function that receives every message on the queue, so you can easyly customize your data miner. Something like: `myMiner(messageOfTheQueue);``
###Example
var printData = function(data){
console.log(data)
}
offSqs.receiver("queueName", printData)
##getQueueUrl()
Usage:
offSqs.getQueueUrl('myQueue').then(function('myQueueURL'){
return myQueueURL;
});
##parseMessage()
body
as array.Usage:
offSqs.parseMessage(data);
FAQs
Extremely easy management of queues with RabbitMQ and/or AmazonSQS
The npm package nibi receives a total of 6 weekly downloads. As such, nibi popularity was classified as not popular.
We found that nibi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.