npm.io
1.0.5 • Published 7 years ago

sqs-localhost

Licence
MIT
Version
1.0.5
Deps
0
Size
25 kB
Vulns
0
Weekly
0
Stars
2
DeprecatedThis package is deprecated

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

Keywords