Network Pipe Manufacturer

    aws-sns-subscription-confirmation

    0.2.1 • Public • Published

    aws-sns-subscription-confirmation Build Status

    Express middleware (NodeJS) to respond to SNS subscription confirmations.

    Usage

    Install the library:

    npm install aws-sns-subscription-confirmation

    Use the library in your express application:

    const express = require('express');
    const bodyParser = require('body-parser');
    const snsSubscriptionConfirmation = require('aws-sns-subscription-confirmation');
     
    const app = express();
     
    // Fix the wrong request content-type as required by the body-parser
    app.use(snsSubscriptionConfirmation.overrideContentType());
    app.use(bodyParser.json());
    app.use(snsSubscriptionConfirmation.snsConfirmHandler());

    Keywords

    none

    Install

    npm i aws-sns-subscription-confirmation

    DownloadsWeekly Downloads

    118

    Version

    0.2.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • cminardi
    • margherita.lazzarini
    • ankon
    • collaborne-team
    • ronnyroeller