feathers-messagebird
v0.1.0
Published
Messagebird adapter for feathers
Downloads
8
Maintainers
Readme
feathers-messagebird
A feathers.js service adapter for messagebird.
Installation
npm i feathers-messagebird
Also see:
- https://github.com/messagebird/messagebird-nodejs
- https://dashboard.messagebird.com/en/developers/access
- https://developers.messagebird.com/tutorials/send-sms-node
Supported features
Todo (contributions welcome)
Usage
const { MessageBirdSmsService } = require("feathers-messagebird");
app.use("/sms", new MessageBirdSmsService({
accessKey: "YOUR_ACCESS_KEY" // get your accessKey: https://dashboard.messagebird.com/en/developers/access
}))
app.service("sms").create({
originator : '31970XXXXXXX',
recipients : [ '31970YYYYYYY' ],
body : 'Hello World, I am a text message and I was hatched by Javascript code!'
})
Testing
Simply run npm test
and all your tests in the test/
directory will be run. It has full support for Visual Studio Code. You can use the debugger to set breakpoints.
License
Licensed under the MIT license.