Skip to content
Aws sms sender
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Babelled Aug 5, 2016
.babelrc
.codeclimate.yml
.eslintignore
.eslintrc
.eslintrc.js
.gitignore
README.md
aws.gif Readme improved Jul 30, 2016
index.js
package.json

README.md

# Let's save your 💲

The problem: Classic Amazon – pricing is immediately at Wal-Mart levels. Sending an SMS message is a mere 0.0075 cents. Want to push notify 1 million end-points. Well that’s a 1. All of this quantity 1 for the lowly guy with a credit card. To get this SMS pricing level at Twilio, you’ve got to already be sending 500k text messages a month. The difference doesn’t sound like much. What’s 0.0025 amongst friends.But at the 500k message level that’s a savings of $1,250 a month.! check out the Original article

AWS sms pricing 👍

Also twilio using AWS sms service Code Climate GitHub issuesGitHub stars Twitter

NPM

Installing

npm i aws-sms-send --save

Demo

Aws send sms without es6 - babel demo 👌

Using Example

var Sender = require('aws-sms-send');
var config = {
  AWS: {
    accessKeyId: 'xxxxxxxxxx',
    secretAccessKey: 'xxxxxxxxxx',
    region: 'xxxxxxxxxx',
  },
  topicArn: 'xxxxxxxxxx',
};

var sender = new Sender(config);

/* Create subscribe */
// sender.createSubscribe('+905054146201')
// .then(function(response) {
//   console.log(response);
// })
// .catch(function(err) {
//    console.log(err)
// });

/* Send topic sms */
// sender.sendSms('Sms body topic', 'Topic sms', true)
// .then(function(response) {
//   console.log(response);
// })
// .catch(function(err) {
//    console.log(err)
// });


/* Send direct sms */
// sender.sendSms('Sms body direct', 'Topic sms', false, '+905054146201')
// .then(function(response) {
//   console.log(response);
// })
// .catch(function(err) {
//    console.log(err)
// });

GIF

Maintenance & Development Çağatay Çalı

You can’t perform that action at this time.