You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mauto-sms-api

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mauto-sms-api

A simple SMS sender class that uses an API to send messages.

1.0.0
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

// MASOWE WYSYLANIE SMS const smsSender = new SmsSender('YOUR_TOKEN_HERE');

const numbers = ['48519172526', '48519172526']; const message = 'Testowa wiadomosc masowa :)';

// Użycie instancji smsSender do wysłania masowych SMS smsSender.sendBulkSms(numbers, message) .then((results) => { console.log('Wiadomości zostały wysłane:', results); }) .catch((error) => { console.error('Błąd podczas wysyłania wiadomości:', error.message); });

// POJEDYNCZA WYSLKA SMS const sender = new SmsSender('YOUR_TOKEN_HERE'); sender.sendSms('48519172526', 'Testowa 123') .then(response => { console.log('Odpowiedź API:', response); }) .catch(error => { console.error('Błąd:', error); });

FAQs

Package last updated on 29 Sep 2024

Did you know?

Socket

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.

Install

Related posts