🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textlocal

Implementation of the textlocal API for sending SMS

0.1.1
latest
Version published
Maintainers
1
Created

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

  • 0.1.0 Initial release

FAQs

Package last updated on 17 Dec 2015

Did you know?

Socket

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