Skip to content

jwchang0206/coolsms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(result);
});

About

CoolSMS Node.js Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published