Socket
Socket
Sign inDemoInstall

vavasms-nodejs

Package Overview
Dependencies
9
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vavasms-nodejs

Client library to send SMS using Vavasms SMS Gateway API (https://vavasms.com)


Version published
Weekly downloads
2
Maintainers
1
Install size
474 kB
Created
Weekly downloads
 

Readme

Source

VavaSMS NODE JS

Build Status

Node JS client module to send SMS messages using VavaSMS SMS Gateway.

To use this library, you must have a valid account on https://www.vavasms.com.

Please note SMS messages sent with this library will be deducted by your VavaSMS account credits.

For any questions, please contact us at infos@vavasms.com

Installation

with NPM

$ npm install vavasms-nodejs

Send a message

Function send

PropsTypeDescription
phoneNumbersstring or arrayphone number that will receive message
textstringSMS Message
senderStringstringSenderID that will use
const SMS = require('vavasms-nodejs');

const sms = new SMS('username', 'password');
sms.send('+22507070101', 'Hello !', 'VavaSMS')
  .then(response => console.log(response.data)) // returns {code:0,message:string,data:[{lot_id:string,message_id:string,status:string}]}
  .catch(err => console.log(err.message))

More info

You can check out our website https://www.vavasms.com

Keywords

FAQs

Last updated on 07 Feb 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc