2.0.6 • Published 7 months ago

smsorange v2.0.6

Weekly downloads
22
License
ISC
Repository
github
Last release
7 months ago

smsorange

smsorange

A Node.js module for send sms with bundle Orange.

Installation

$ npm i smsorange

Example

"use strict"

const smsorange = require("smsorange")

// Promise interface
let SMS = new smsorange("<Your Authorization header>","<Your Number>")

SMS.sendSms('numberOfReceiver', 'Your message. 😜');
// The message content-type UTF-8
//    More 160 char equal 2 Sms (same partition with message on GSM)
//        if your message is send one object is return and contain {statusCode, body, numberReceiver, NumberSender, HeaderQuery, URL, timestamp}
//        assert(statusCode, "201") ? the message is send with successful: the message is not send; 
//        In case Error, one error is return error
//Your Number Type : prefix + number (+22501020304)
//numberOfReceiver Type : prefix + number (+22505060708)

How to contribute

Have an idea? Found a bug? See how to contribute.

License

See the LICENSE file.

Autor

Rochel Ryu | Dev JS/TS Dart & Kotlin

2.0.6

7 months ago

2.0.5

1 year ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

0.0.1

6 years ago