# aws-sns-sms

> A AWS SNS wrapper to send message to a mobile number (useful to send OTP)

Latest version **1.0.2** (published 2017-08-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install aws-sns-sms
pnpm add aws-sns-sms
yarn add aws-sns-sms
bun add aws-sns-sms
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-08-07 |
| First published | 2017-08-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Vishal Bisht |
| Maintainers | vishal7201 |
| Keywords | AWS, SNS, SMS, OTP, MESSAGE |

## Links

- npm: https://www.npmjs.com/package/aws-sns-sms
- Repository: https://github.com/vishal7201/aws-sns-sms
- Homepage: https://github.com/vishal7201/aws-sns-sms#readme
- Issues: https://github.com/vishal7201/aws-sns-sms/issues
- npm.io page: https://npm.io/package/aws-sns-sms

## Dependencies (1)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.94.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-08-07
- 1.0.1 — 2017-08-07
- 1.0.0 — 2017-08-07

## README

# aws-sns-sms
An AWS SNS Module to send msessage to a phone number.(Can be used to send OTP)


## Installation

  npm install aws-sns-sms

## Usage
```javascript
  let sendMsg = require('aws-sns-sms');
  let awsConfig = {
  accessKeyId: '',
  secretAccessKey: '',
  region: ''
  };

  let msg = {
    "message": "your OTP is 845214",
    "sender": "VISHAL",
    "phoneNumber": "+91XXXXXXXXXX" // phoneNumber along with country code
  };
  sendMsg(awsConfig, msg).then(data => {
    console.log("Message sent");
  })
  .catch(err => {
    consolr.log(err);
  });
```

---
_Source: https://npm.io/package/aws-sns-sms · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
