simple-sns-client

0.2.3 • Public • Published

simple-sns-client Build Status

Helper client to simplify access to AWS SNS (NodeJS)

Usage

const AWS = require('aws-sdk');
const SNSClient = require('simple-sns-client');
 
const sns = new AWS.SNS();
const snsClient = new SNSClient(sns);
 
snsClient
    .getTopicArn('my-topic')
    .then(topicArn => snsClient.publish(topicArn, 'Hello world!'));

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i simple-sns-client

    Weekly Downloads

    0

    Version

    0.2.3

    License

    Apache-2.0

    Last publish

    Collaborators

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