SimonJang / is-aws-queue

Small utility function to check if a queue is or could be an AWS SQS queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-aws-queue Build Status

Utility to check based on a queue name, that it is or could be an AWS SQS queue

Install

$ npm install is-aws-queue

Usage

const isAwsQueue = require('is-aws-queue');

isAWSQueue('correct-queue_01'); // true
isAWSQueue('#myqueue 01') // false

API

isAwsQueue(name)

name

Type: string

Name of the queue that has to be validated.

About

Small utility function to check if a queue is or could be an AWS SQS queue

License:MIT License


Languages

Language:JavaScript 100.0%