Skip to content
Ghasedak sms webservice for nodejs
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
media
.editorconf
.gitignore
.npmrc
.travis.yml
package.json
readme.md

readme.md

ghasedak for nodejs

Build Status npm version

Ghasedak sms webservice package for nodejs.

install

You can simply install and use ghasedak nodejs library from npm:

npm install --save ghasedak

or from yarn:

yarn install ghasedak

usage

Import ghasedak package:

const Ghasedak = require("ghasedak");

You need a Ghasedak account. Register and get your API key.

Create an instance from Ghasedak class with your API key:

let ghasedak = new Ghasedak(
	"3ef8539ba50c06b2a11d674c8a7ded7d7360d7b090b5146ff0761e8d9927bd31"
);

Send some sms:

ghasedak.send({
	message: "Hello World!",
	receptor: "09xxxxxxxxx"
});

:)

license

Released under the BSD-3-Clause-Clear License.

You can’t perform that action at this time.