textlocal
v0.1.1
Published
Implementation of the textlocal API for sending SMS
Readme
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: '[email protected]', password: 'mypassword' };
-or-
var validOptions = { username: '[email protected]', hash: 'myhash1234567890' };
var tl = require('TextLocal')(validOptions); tl.sendSMS('01234567890', 'this is a test message', 'Sender', function (err, data) {});
Tests
npm test
Release History
- 0.1.0 Initial release
