# semaphore.co-sms

> semaphore.co api implementation for nodejs

Latest version **1.0.2** (published 2019-07-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install semaphore.co-sms
pnpm add semaphore.co-sms
yarn add semaphore.co-sms
bun add semaphore.co-sms
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-07-27 |
| First published | 2019-07-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Zab G. Salahid |
| Maintainers | zabsalahid |
| Keywords | semaphore.co, sms, semaphore |

## Links

- npm: https://www.npmjs.com/package/semaphore.co-sms
- Repository: https://github.com/zabsalahid/semaphore-sms
- Homepage: https://github.com/zabsalahid/semaphore-sms#readme
- Issues: https://github.com/zabsalahid/semaphore-sms/issues
- npm.io page: https://npm.io/package/semaphore.co-sms

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.19.0
- [dotenv](https://npm.io/package/dotenv.md) ^8.0.0

## Recent versions

- 1.0.2 (latest) — 2019-07-27
- 1.0.1 — 2019-07-27
- 1.0.0 — 2019-07-27

## README

# Node semaphore.co-sms

[![NPM](https://nodei.co/npm/semaphore.co-sms.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/semaphore.co-sms/)

## Intro

This package just implements the API available for semaphore.co. They don't have one for nodejs.

## Installation

```terminal
npm install semaphore.co-sms
```

## Environment File

- create `.env` file

```
SEMAPHORE_API_KEY=apikey
```

## Usage

```js
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();
```

---
_Source: https://npm.io/package/semaphore.co-sms · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
