TextLocal
A small library providing utility methods for the textlocal.com API http://api.txtlocal.com/docs/
Installation
npm install TextLocal --save
Usage
var validOptions = {
apikey: '1234567890-0987312345678hgfdsaertyuikjhgf'
};
-or-
var validOptions = {
username: 'npm@block17.co.uk',
password: 'mypassword'
};
-or-
var validOptions = {
username: 'npm@block17.co.uk',
hash: 'myhash1234567890'
};
var tl = require('TextLocal')(validOptions);
tl.sendSMS('01234567890', 'this is a test message', 'Sender', function (err, data) {});
Tests
npm test
Release History