# sqs-localhost

> SQS interface via elasticmq locally (inspired by dynamodb-localhost)

Latest version **1.0.5** (published 2019-05-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install sqs-localhost
pnpm add sqs-localhost
yarn add sqs-localhost
bun add sqs-localhost
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-05-27 |
| First published | 2019-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Blake E |
| Maintainers | electblake |
| Keywords | sqs, elasticmq, aws, message-queue, queue |

## Links

- npm: https://www.npmjs.com/package/sqs-localhost
- Repository: https://github.com/electblake/sqs-localhost
- Homepage: https://github.com/electblake/sqs-localhost#readme
- Issues: https://github.com/electblake/sqs-localhost/issues
- npm.io page: https://npm.io/package/sqs-localhost

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-05-27
- 1.0.4 — 2019-05-26
- 1.0.3 — 2019-05-25
- 1.0.2 — 2019-05-25
- 1.0.1 — 2019-05-25
- 1.0.0 — 2019-05-25

## README

# SQS Localhost

- Install and Launch https://github.com/softwaremill/elasticmq
- Inspired by https://github.com/99xt/dynamodb-localhost

## Usage

```
npm install sqs-localhost
```

```
const SQSLocal = require('sqs-localhost')

const sqs = new SQSLocal()
await sqs.launch()
sqs.stop()
```

TypeScript

```
import SQSLocal from 'sqs-localhost'
```

### Advanced

```
const SQSLocal = require('sqs-localhost')

const sqs = new SQSLocal({
    verbose: true,
    installPath: '.sqs',
    configFile: './path/to/custom.conf'
})

await sqs.install()

const process = sqs.launch()

console.log('pid', process.pid)

process.kill('SIGKILL')

```

## Development

```
npm install
npm run build
```

```
npm run watch
```

```
npm run test -- --watch
```

---
_Source: https://npm.io/package/sqs-localhost · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
