
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
muthofun-sms-api
Advanced tools
A class for sending SMS notifications via an HTTP API.
npm install muthofun-sms-api
import SMSNotifier from 'muthofun-sms-api';
const notifier = new SMSNotifier({ authToken: 'my-auth-token', apiUrl: 'https://sysadmin.muthobarta.com', });
notifier.sendSMSNotification('Hello, world!', '+1234567890') .then(() => { console.log('SMS notification sent'); })
.catch((err) => { console.error(`Error sending SMS notification: ${err.message}`); });
The SMSNotifier class takes an object with authToken and apiUrl properties as its constructor argument. You can then call the sendSMSNotification method with the message content and phone number as its arguments. The method returns a Promise that resolves when the SMS notification has been sent, or rejects with an error if there is a problem sending the notification.
new SMSNotifier(options: SMSNotificationOptions)
Creates a new instance of the SMSNotifier class.Returns a Promise that resolves when the SMS notification has been sent, or rejects with an error if there is a problem sending the notification.
This package is licensed under the MIT License.
FAQs
A class for sending SMS notifications via an HTTP API.
The npm package muthofun-sms-api receives a total of 0 weekly downloads. As such, muthofun-sms-api popularity was classified as not popular.
We found that muthofun-sms-api 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.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.