1.0.3 • Published 1 year ago

that-sqs-thing v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

That SQS thing

Poll SQS queue and invoke local serverless function

Install

yarn i -g that-sqs-thing

Usage

# With CLI args:
tst [queueUrl] [fn] [interval]

# With env vars
TST_QUEUE_URL=my-queue TST_FN=my-function TST_INTERVAL=5000 tst

# With env vars (once, useful for tests)
TST_QUEUE_URL=my-queue TST_FN=my-function TST_INTERVAL=5000 TST_ONCE=true tst

Test

./test.sh
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago