bulksms
v0.0.3
Published
BulkSMS API wrapper for NodeJS
Downloads
268
Readme
BulkSMS API
BulkSMS is a simple implementation of BulkSMS API for NodeJS that allows you to easily integrate SMS services into your application.
Installation
This module requires Node v6.0.0+.
npm install bulksms --save
Usage
To use this module you need an account from www.bulksms.com (you start with 5 free credits).
const BulkSMS = require('bulksms')
const SMS = new BulkSMS('[USER]', '[PASSWORD]')
SMS.send('[NUMBER]', 'Hello, this is just a test!', (err, result) => {
if (err)
return console.error(err)
console.log(result)
})
Contributing
- Fork it ( https://github.com/hugoabonizio/bulksms/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- hugoabonizio Hugo Abonizio - creator, maintainer