1.0.5 • Published 5 years ago

sqs-localhost v1.0.5

Weekly downloads
12
License
MIT
Repository
github
Last release
5 years ago

SQS 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