Repository
Current version released
2 years ago
Versions
@indigo/sdk
Lightweight wrapper around the Indigo REST API.
Installation
npm install indigo-sms
Example
import Client from "indigo-sms"
const client = new Client({
apiUrl: "https://sms.bene.dev",
apiToken: "YOUR_API_TOKEN",
})
client
.sendSms("+4369917334800", "Hello from Indigo 🎉")
.then(() => console.log("SMS sent."))
.catch((err) => console.error(err))