
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
An implementation of Amazon's Simple Queue Service (SQS). This project aims to imitate live SQS as close as possible.
Localstack was an inspiration for this project. We used Localstack for our SQS needs before this project was started. We chose to create this implementation for the following reasons:
$ sqslite --help
Usage: sqslite [options]
A SQS http server
Options:
--help Display this help message and exit
--host <host> The host to listen on (default: localhost)
--port <port> The port to listen on (default: 4567)
Report bugs at github.com/jennyEckstein/sqslite/issues
To start the SQSLite server:
$ sqslite --port=3001
As a prerequisite to interacting with SQSLite through the command line, first install AWS CLI.
In order to create a queue, run the command shown below. Make sure to provide the same endpoint url where SQSLite server is running.
$ aws sqs create-queue --queue-name=test-queue-1 --region=us-east-1 --endpoint=http://localhost:3001
Or programmatically:
const sqslite = require('sqslite');
sqslite({}).listen(3001, (err, address) => {
if (err) throw err;
console.log(`server listening on ${address}`);
});
Once running, here's how to use AWS SDK to connect:
const AWS = require('aws-sdk');
const sqs = new AWS.SQS({ endpoint: 'http://localhost:3001' });
await sqs.listQueues().promise();
With npm do:
npm install -g sqslite
Or to install for development/testing in your project:
npm install -D sqslite
FAQs
Lightweight module for integration testing AWS SQS.
The npm package sqslite receives a total of 190 weekly downloads. As such, sqslite popularity was classified as not popular.
We found that sqslite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.