1.2.1 • Published 3 years ago

termii v1.2.1

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

Termii

<1kb Framework/Library agnostic termii

Installation

npm install termii

Usage

import Termii from 'termii'

const termiiInstance = Termii()

//Set API
termiiInstance.setApi('YOUR_API_KEY')

//Send SMS
termiiInstance.send_sms('234THE_TARGET_NUMBER','Your message','SENDER_ID')

//Send WhatsApp Message
termiiInstance.send_sms('234THE_TARGET_NUMBER','Your message','SENDER_ID','whatsapp')
//Take note that whatsapp was added as the fourth parameter

//Send OTP
termiiInstance.send_otp('234THE_TARGET_NUMBER','SENDER_ID','dnd')

//Verify OTP
termiiInstance.verify_otp('XXXXX-XXXXX-XXXX-XXXX','123456')

Developed by Aremu Smog

Twitter | Instagram | Website

Contributors

Greatly Inspired by Ashinze Ekene's paystack-simple

1.2.0

3 years ago

1.2.1

3 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago