zenviva-sms

1.1.1 • 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 zenviva-sms

Usage

const zenviva = require('zenviva-sms');
const sms = new zenviva('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 zenviva-sms

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • balinux