Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 953 Bytes

File metadata and controls

46 lines (30 loc) · 953 Bytes

ReSMS SDK for Node.js

Node.js SDK for ReSMS, a simple and powerful SMS API.

Installation

npm install @resms/sdk
# or
bun add @resms/sdk
# or
yarn add @resms/sdk

Setup

You need to get an API key on ReSMS Dashboard.

Usage

Send you can send your SMS:

const resms = new ReSMS("re_123");
const response = await resms.sms.send({
    to: "+33123456789",
    message: "Welcome to ReSMS!",
    senderId: "ReSMS",
});

console.log(response);

Documentation

The full documentation is available at https://docs.resms.dev.

Here is an implementation example of ReSMS Node package: https://github.com/ReSMS-dev/resms-node-example

License

This project is licensed under the MIT License.

Note

This is a simple SDK for ReSMS. More features and improvements will be added in the future. If you have any suggestions or issues, please open an issue on GitHub.