Package Exports
- fast-two-sms
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fast-two-sms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Welcome to fast-two-sms 👋
The Module to send Message using FAST2SMS.com
🏠 Homepage
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install fast-2-sms --saveThis package is provided in these module formats:
- CommonJS
Usage
const fast2sms = require('fast-two-sms')
var options = {authorization : YOUR_API_KEY , message : 'YOUR_MESSAGE_HERE' , numbers : ['9999999999','8888888888']}
fast2sms.sendMessage(options)
Other than Above You may also use following options for more control.
You may also set the other FAST2SMS options
method - Method for request (Default : POST)
sender_id - A custom name for SMS sender (Default: FSTSMS)
language - english / unicode (Unicode supports other languages such as Hindi) (Default: english)
route - p for promotional and t for transactional (Default: p)
flash - This field is optional, it will use "0" as default value or you can set to "1" for sending flash message.
Author
👤 Ashutosh Kumar
- Website: raxraj.github.io
- Twitter: @raxrajtwit
- Github: @raxraj
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!