is-aws-queue
v1.0.1
Published
Utility function to check if a queue name is a valid AWS SQS name
Downloads
5
Readme
is-aws-queue
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.