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

semaphore.co-sms

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semaphore.co-sms

semaphore.co api implementation for nodejs

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Node semaphore.co-sms

NPM

Intro

This package just implements the API available for semaphore.co. They don't have one for nodejs.

Installation

npm install semaphore.co-sms

Environment File

  • create .env file
SEMAPHORE_API_KEY=apikey

Usage

const Semaphore = require('semaphore.co-sms');

let SendSMS = async () => {
	let obj = {
		apikey: apikey, // or you can put the api key in an .env file as SEMAPHORE_API_KEY
		number: '09123456789',
		message: `What's up madlang people?`,
		sendername: 'SEMAPHORE', // or the sendername you applied for
	};
	let response = await Semaphore.send(obj);
	console.log(response);
};

SendSMS();

Keywords

FAQs

Package last updated on 27 Jul 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