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