coolsms

1.0.0 • Public • Published

CoolSMS-node


Installation

  npm install coolsms

or

  git clone git://github.com/InspiredJW/coolsms.git

Usage

var coolsms = require('coolsms');
 
coolsms({
  ssl: true,            // true | false
  user: 'username',     // CoolSMS username
  password: 'password', // CoolSMS password
  to: '01000000000',    // Recipient Phone Number
  from: '01000000000',  // Sender Phone Number
  text: 'Hello World!'  // Text to send
}, function(err, result) {
  // error message in String and result information in JSON
  if (err) {
    console.log(err);
  }
  console.log(body);
});
 

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i coolsms

    Weekly Downloads

    2

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • inspired_jw