Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 507 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 507 Bytes

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