Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smsir_mh_js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smsir_mh_js

This package is for using SMS service from sms.ir should get API and templetId from sms.ir javaScript,ES6 support

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

smsir_mh_js

This package is for using SMS service from sms.ir should get API and templetId from sms.ir

Test Resalt

npm test

PASS ./SendAlertSMSIR.spec.js SendAlertSMSIR √ should send a POST request with correct data (5 ms) √ should log an error if the request fails

Test Suites: 1 passed, 1 total Tests: 2 passed, 2 total Snapshots: 0 total Time: 0.78 s Ran all test suites.

Author

Mohammad Hadi
Email: mmm.6336@gmail.com

Donate address : TS3ZnWGHfDnW7FcG8p6BYrWAis2nzX3gDG //USDT TRC20

Installation

for install last vertion npm install smsir_mh_js@latest

To install the package, run:


#npm
npm install axios
npm install smsir_mh_js



#yarn
yarn add axios
yarn add smsir_mh_js



# Example use:

const { SendAlertSMSIR } = require('smsir_mh_js');

const apiKey = '121212121212121212121';  //Example API Key 
const to = '09100059323';  //Example Phone Number
const message = 'Hello,this test message!'; //Max 24 Character Length
const templateId = '750016';  //Example template ID 

SendAlertSMSIR(to, message, apiKey, templateId);


Keywords

FAQs

Package last updated on 14 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc