1.0.3 • Published 2 years ago

that-sqs-thing v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years 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

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago