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

ssl-wireless-sms-send

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssl-wireless-sms-send

Send both Bengali and English by SSL wireless

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Send SMS by SSL Wireless

Background

SSL wireless is a third party service for sending SMS for Bangladeshi numbers. But their documentation isn’t adequate for nodeJS. Also it requires some extra work to send Bangla SMS. This npm package will remove those hassles.

Installation

You can use npm to install the package with the following code

npm install —save ssl-wireless-sms-send

Usage

There are 2 functionalities to use.

1. Sending SMS
It sends sms by using SSL wireless. You need to have the necessary credentials for SSL wireless . For sending SMS you have to call a function named send. The send method takes these following arguments. (Make sure order is maintained properly)

send(receiver, text, userName, password, bengaliSid, englishSid, cSMSId)
ArgumentDescription
receiverThe number you want to send SMS
textThe body of the SMS
userNameusername provided by SSL wireless
passwordprovided by SSL wireless
bengaliSidneeded in case you want to send Bengali SMS
englishSidneeded for sending only English SMS
cSMSIdthis is a unique id for each sms provided by you. It’s needed for uniquely identify the SMS

Example SMS send :

const sms = require('ssl-wireless-sms-send');

sms.send('01671996355',
   'This is test SMS',
   'UserName',
   'Password',
   'BanglaSID',
   'EnglishSID',
   '12345678')
    .then( response => {
        console.log(response);
    })
    .catch( error => {
        console.log(error);
    });

2. Convert Bangla to Unicode It receives a Bengali string as a argument and converts it to unicode.

let unicode = bengaliToUnicode(banglaText)

This is created by saadnoor salehin, any feedback and PR is welcome.

Keywords

FAQs

Package last updated on 18 Oct 2019

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