Socket
Socket
Sign inDemoInstall

node-sms-send

Package Overview
Dependencies
52
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-sms-send

Sms send package for Comilio


Version published
Weekly downloads
7
decreased by-56.25%
Maintainers
1
Install size
5.70 MB
Created
Weekly downloads
 

Readme

Source

Comilio Node JS SMS Send

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

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

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

For any questions, please contact us at tech@comilio.it

Installation

$ npm install node-sms-send --save

Send a message with Classic type

const SMS = require('node-sms-send')

const sms = new SMS('username', 'password')

sms.send('+393401234567', 'Hello!')
  .then(body => console.log(body)) // returns { message_id: 'string' }
  .catch(err => console.log(err.message))

Check status of message

const SMS = require('node-sms-send')

const sms = new SMS('username', 'password')

sms.status('A95455F7031140769030CCA81E764C5F')
  .then(body => console.log(body)) // returns [ { phone_number: '+393401234567', status: 'Sent' } ]
  .catch(err => console.log(err.message))

More info

You can check out our website https://www.comilio.it

Keywords

FAQs

Last updated on 27 Nov 2018

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