Nascent Plasticine Materialist
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

mod-aspsms

1.0.0 • Public • Published

mod-aspsms

Gateway to SMS-Provider Aspsms for node.

var config = {
  "disable": true,
  "userkey": "YOUR_USERKEY",
  "password": "YOUR_PASSWORD",
  "originator": "YOUR_NAME",
  // Optional:
  "deliveryNotificationUrl": "http://example.com/success",
  "nonDeliveryNotificationUrl": "http://example.com/failure"
};
 
var sms = require('mod-aspsms')(config);
 
var msg = 'Test SMS from NodeJs';
 
var addressBook = ['+41765432109'];
 
for (var i = 0; i < addressBook.length; i++) {
  sms.send(addressBook[i], msg);
}

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

Keywords

none

install

npm i mod-aspsms

Downloadsweekly downloads

0

version

1.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability