feathers-messagebird
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

feathers-messagebird

A feathers.js service adapter for messagebird.

npm libraries.io npm GitHub license

Installation

npm i feathers-messagebird

Also see:

Supported features

  • [x] Messages

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.

Package Sidebar

Install

npm i feathers-messagebird

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

23.9 kB

Total Files

10

Last publish

Collaborators

  • fratzinger