node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »



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.


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.