node-whois-sms

0.1.4 • Public • Published

Whois SMS

Unofficial Whois SMS Hosting API for Node.js.

API

Initialize library

var WhoisSms = require("node-whois-sms");
var SMS = new WhoisSms(WHOIS_API_ID, WHOIS_API_PASS, WHOIS_SENDER);

Send SMS

WhoisSms.send(to, message, error, callback)

  • to - Destination phone number. Only number type allowed.
  • message - Body of SMS.
  • error - When error occured, call this function with error messages
  • cb - Callback function.

/node-whois-sms/

    Package Sidebar

    Install

    npm i node-whois-sms

    Weekly Downloads

    0

    Version

    0.1.4

    License

    GPL-3.0

    Last publish

    Collaborators

    • extendkr