Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sms-global-js

A node js library for the SMS global http-api.

Installation

npm install --save sms-global-js

Usage

const SMSGlobal = require('sms-global-js');

const sms = new SMSGlobal();

sms.authenticate('username', 'password');
sms.setFromName('Example');
sms.setRecipient('+645555555555');
sms.setMessageBody('This is a test sms from JS!');

sms.send().then((res) => {
  // do something cool, because you just sent a sms.
}).catch((err) => {
  // something's not right here.
});

About

A node js library for the SMS global http-api.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages