@redningsselskapet/pswincom-sms-gateway

    1.0.2 • Public • Published

    PSWinCom SMS Gateway

    node.js module for sending sms messages through PSWinCom SMS Gateway.

    Installation

        $ npm install @redningsselskapet/pswincom-sms-gateway
    

    Usage

        // import node module
        const SmsGateway = require('@redningsselskapet/pswincom-sms-gateway')
     
        // create Sms Gateway object
        const smsGateway = SmsGateway({ username: 'myuser', password: 'mypass', sender: 'mysender' })
     
        // send sms message to a receiver
        smsGateway.sendSms({ receiver: '4791679501', message: 'Hello there!' })
          .then(result => {
            console.log(result)
          })
          .catch(err => {
            console.log(err)
          })

    Keywords

    none

    Install

    npm i @redningsselskapet/pswincom-sms-gateway

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.25 kB

    Total Files

    10

    Last publish

    Collaborators

    • oyvjul
    • rs-npm
    • matsgm
    • kenguru33