Socket
Socket
Sign inDemoInstall

mod-aspsms

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mod-aspsms

a SMS gateway provider for Aspsms


Version published
Weekly downloads
11
increased by22.22%
Maintainers
1
Install size
5.68 kB
Created
Weekly downloads
 

Readme

Source

mod-aspsms

Gateway to SMS-Provider Aspsms for node.

var config = {
  "disable": true, // switch to false to enable the service
  "UserName": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "Password": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "Originator": "Your Name",
  // Optional:
  "logger": console.log, // if you would like to see debug output
  "URLDeliveryNotification": "https://example.com/success",
  "URLNonDeliveryNotification": "https://example.com/failure"
};

const sms = require('mod-aspsms')(config);

const msg = 'Test SMS from NodeJs';

const addressBook = ['+41798765432'];

sms.send(addressBook, msg);

I released this code because I believe everyone should be able to send texts with node.

Additional docs

https://json.aspsms.com/

Keywords

FAQs

Last updated on 30 May 2019

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