npm.io
0.2.3 • Published 9 years ago

node-smsc

Licence
MIT
Version
0.2.3
Deps
2
Vulns
2
Weekly
0
Stars
7

node-smsc

Convenient wrapper of http/https smsc api.

Example

var smsc = require('node-smsc')({
    login: 'login',
    password: 'password', // password is md5-hashed implicitly unless "hashed" option is passed.
})

smsc.send({
    phones: '79XXXXXXXXX',
    mes: 'Hello from node-smsc!',
})  // returns a Promise with send results

For more examples see tests.

Documentation