
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
unismsgateway
Advanced tools
A unified sms gateway library that brings access to multiple sms gateways under a single API
Most of the time a single project relies on multiple sms Gateway so it can switched if one goes off. However, each sms api specification is different from the other, hence the need to create separate implementation for each sms gateway.
Unified sms gateway is library that brings most common sms gateways under a Unified api. which means you only does one implementation in it works for all supported sms gateway. you just have select or switch your sms platform and your code still works fine like nothing has changed
const unisms = require('unismsgateway')
const param = { clientId, // hubtel sms client Id **optional
clientSecret, // hubtel sms client secret ** optional
username, // username for route sms
password, // password for route sms
host, // host address eg. rslr.connectbind.....
port} // port defaults to 8080
//init with prefered platform id. route => routemobile, hubtel => hubtel sms
// more sms services will be added or supported in the future
const gateway = unisms.init({platformId:'route', param})
const testSms = async function(){
try{
// const gateway = unisms.getSmsPlatform();
await gateway.quickSend({From:'xxxxx', To: xxxxxxxx, Content: 'Testing unisms', Type: 0}, (response)=>{
console.log(response)
}).then(r => {
console.log(r)
}).catch(err => {
console.log(err)
})
}catch(err){
console.log(err)
}
}
const testSms = async function(){
try{
// const gateway = unisms.getSmsPlatform();
await gateway.sendPersonalized({From:'xxxxx',
To: {to: 233XXXXXXXXX, values: ['Alpha', 65332]}, // [{to: 233XXXXXXXXX, values: ['Alpha', 65332]}, {to: 211XXXXXXXXX, values: ['James', 2000]}, ]
Content: 'Testing unisms',
Type: 0}).then(r => {
console.log(r)
}).catch(err => {
console.log(err)
})
}catch(err){
console.log(err)
}
}
Hubtel bulk sms (Ghana) using hubtel-sms-extended routeMobile sms (India) using routemobilesms Nest SMS(Ghana) using nestsms
Additional browser support
Add more third party sms integrations
FAQs
A unified sms gateway library that brings access to multiple sms gateways under a single API
We found that unismsgateway demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.