Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqslite

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqslite

Lightweight module for integration testing AWS SQS.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
152
decreased by-44.73%
Maintainers
1
Weekly downloads
 
Created
Source

Sqslite

An implementation of Amazon's SQS

Example

$ sqslite --help

Usage: sqslite [options]
A SQS http server

Options:
--help Display this help message and exit
--port <port> The port to listen on (default: 4567)
  Report bugs at github.com/jennyEckstein/sqslite/issues

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();

Installation

With npm do:

$ npm install -g sqslite

Footnotes:

At the moment only createQueue and listQueue are available.

TODOs

  • Add tests for Policy attribute, when functionality implemented
  • when delete-queue functionality implemented, need to add check for QueueDeletedRecently error

License

MIT

FAQs

Package last updated on 26 Jun 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc