zenziva-sms

1.1.2 • Public • Published

Zenziva SMS Client

Zenziva SMS client for javascript, nodeJS.

features

  • sms reguler
  • sms masking
  • Supports the Promise API
  • Automatic transforms for JSON data(Coming Soon)

Installation

Run npm

npm i -S zenziva-sms

Usage

const zenziva = require('zenziva-sms');
const sms = new zenziva('userkey', 'passkey')

sms.reguler(PhoneNumber, Message)
    .then(Response => {
         console.log(Response.data);
    })
    .catch(error => {
         console.log(error);
    })

sms.masking(PhoneNumber, Message)
    .then(Response => {
         console.log(Response.data);
    })
    .catch(error => {
         console.log(error);
    })

License

MIT © ryojuniyantara@gmail.com

Package Sidebar

Install

npm i zenziva-sms

Weekly Downloads

55

Version

1.1.2

License

MIT

Unpacked Size

2.97 kB

Total Files

5

Last publish

Collaborators

  • balinux