@superlogica/super-sms-client-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Super SMS Client JS

What is Super SMS Client?

lib JS for send SMS from Superlógica SMS microservice

Getting started

To install the lib just run the command:

npm install @superlogica/super-sms-client-js

Ready!

Now you can use the available interfaces and the adapter.

How it works?

The most basic possible use is to import default (adapter) and use it, as in the following example:

import { SuperSMS } from '@superlogica/super-sms-client-js';

const superSMS = new SuperSMS({
    apiKey: 'MY_API_KEY',
    clientId: 'MY_CLIENT_ID',
    clientSecret: 'MY_CLIENT_SECRET',
})

await superSMS.send({
    phone_number: '+5556999999999',
    from: 'Super SMS',
    message: 'Hello, World',
})

Readme

Keywords

Package Sidebar

Install

npm i @superlogica/super-sms-client-js

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

105 kB

Total Files

59

Last publish

Collaborators

  • murilosuperlogica
  • ennio.octavio
  • g-portugues
  • matheus.leal
  • mdpbaptista10
  • henriquebava
  • diogorighisl
  • jhonatas.superlogica
  • wilsinprado