JSPM

lambda-sns-event-message

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 95
  • Score
    100M100P100Q84933F
  • License MIT

Utility function for returning the `Message:` portion of an SNS invocation of lambda

Package Exports

  • lambda-sns-event-message

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lambda-sns-event-message) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

lambda-sns-event-message Build Status

Utility function for returning the Message: portion of an SNS invocation of lambda

Install

$ npm install --save lambda-sns-event-message

Usage

For when you just need the message portion of an SNS event:

Pass in the SNS event:

var parseSNSMessage = require('lambda-sns-event-message');

exports.handler = function(event, context) {
  var snsMessage = parseSNSMessage(event);
};