SimonJang / is-aws-fifo-queue

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-aws-fifo-queue Build Status

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

Install

$ npm install is-aws-fifo-queue

Usage

const isAwsFifoQueue = require('is-aws-fifo-queue');

isAWSFifoQueue('correct-fifo-queue.fifo'); // true
isAWSFifoQueue('someQueue') // false

API

isAwsFifoQueue(name)

name

Type: string

Name of the queue that has to be validated

About

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


Languages

Language:TypeScript 100.0%