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

express-aws-sns

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-aws-sns

Middleware for parsing Amazon AWS SNS requests in express.

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
798
decreased by-2.33%
Maintainers
1
Weekly downloads
 
Created
Source

AWS SNS Express middleware

This has been adapted from https://github.com/mattrobenolt/node-snsclient to better support express. If you just want a standalone client without express you're better off using that one.

Installation

$ npm install express-aws-sns

Usage

var express = require('express'),
    sns = require('express-aws-sns'),
    app = express();

app.use(sns());

Perform no verification (not recommended except for debugging):

app.use(sns({
    verify: false
}));

Ensure topic:

app.use(sns({
    topic: 'aws:sns:arn:xxx:yyy:zzz'
}));

By default, the message will be attached to the request in the snsMessage property. It can be accessed via req.snsMessage.

Keywords

FAQs

Package last updated on 30 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc