Nervously Proposing Marriage
    Have ideas to improve npm?Join in the discussion! »

    node-rocketsms

    0.1.1 • Public • Published

    node-rocketsms npm

    Modern RocketSMS SMS-gateway API.

    Features

    • Supports API spec v1.3.0.
    • Clear, lightful API layer
    • Async/await/Promises

    Installation

    This module is installed via npm:

    npm install node-rocketsms

    Example Usage

    const RocketSMS = require('node-rocketsms');
    
    const sms = new RocketSMS('username', 'password');

    Create message

    const result = await sms.send('375999999999', 'New message text!');

    Message status

    const result = await sms.status(123456789);

    Account balance

    const result = await sms.balance();

    Alfa-numbers list

    const result = await sms.senders();

    Add alfa-number

    const result = await sms.addSender('SenderName');

    Templates list

    const result = await sms.templates();

    © 2020

    Install

    npm i node-rocketsms

    DownloadsWeekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    7.51 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar