@wolfxlabs/twilio
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Nodejs Twilio Provider

A twilio sms provider library for @novu/stateless.

Usage

import { TwilioSmsProvider } from '@wolfxlabs/twilio';

const provider = new TwilioSmsProvider({
  accountSid: process.env.TWILIO_ACCOUNT_SID,
  authToken: process.env.TWILIO_AUTH_TOKEN,
  from: process.env.TWILIO_FROM_NUMBER, // a valid twilio phone number
});

await provider.sendMessage({
  to: '0123456789',
  content: 'Message to send',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @wolfxlabs/twilio

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

16.6 kB

Total Files

15

Last publish

Collaborators

  • tecklens1