Zenziva SMS client for javascript, nodeJS.
- sms reguler
- sms masking
- Supports the Promise API
- Automatic transforms for JSON data(Coming Soon)
Run npm
npm i -S zenziva-sms
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);
})
MIT © ryojuniyantara@gmail.com