co-nexmo

1.0.0 • Public • Published

co-nexmo

co wrapper for nexmo

Installation

$ npm install co-nexmo

Example

var Nexmo = require('co-nexmo');
 
var nexmo = Nexmo({
  key: 'key',
  secret: 'secret'
});
 
...
var balance = yield nexmo.getBalance();

Supported API

Get Balance

getBalance()

Search Message

searchMessages(date, mobileNumber)

Send Text Message

sendTextMessage(fromNumber, toMobileNumber, text)

Send Text Short Code

sendTextShortCode(mobileNumber, pin)

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i co-nexmo

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • swinarta