sns-event-collector

0.0.1 • Public • Published

SNS Event Collector

This package works in conjunction with evanderkoogh's event-collector, but was developed separately.

The function takes as parameter a Topic ARN for SNS, and returns a function that accepts an event-collector and an optional callback function.

Example

const eventCollector = require('event-collector');
const snsEventCollector = require('sns-event-collector')(process.env.TOPIC_ARN);
 
snsEventCollector(eventCollector, () => {});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i sns-event-collector

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sandyman