New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

aws-fanout

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-fanout

A library wrapping SNS and SQS to allow for human readable names when using a fanout technique


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created

AWS-Fanout

A library wrapping SNS and SQS to allow for human readable names when using a fanout technique. Let's you use the fanout pattern without needing to hard code ARNS throughout your application.

Installation

This module is installed via npm:

$ npm install aws-fanout

Example Usage

import { publish } from 'aws-fanout'

publish(creds, 'newUserHasSignedUp', {
  twitterHandle: '@jladuval',
  userId: 1,
  username: 'Jacob Duval'
})
  .then(res => res.MessageId)
  .catch(err => console.error(err.stack))

Library is immature at the moment, suggestions welcome.

Keywords

FAQs

Package last updated on 28 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts