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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i co-nexmo

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • swinarta