indigo-sms

1.0.0-dev.bcf1f7e • Public • Published

@indigo/sdk

Lightweight wrapper around the Indigo REST API.

import Client from "@indigo/sdk"

const client = new Client({
  apiUrl: "https://sms.bene.dev/sms",
  apiToken: "YOUR_API_TOKEN",
})

client
  .send("004369917334800", "Hello from Indigo 🎉")
  .then(() => console.log("SMS sent."))
  .catch((err) => console.error(err))

Readme

Keywords

Package Sidebar

Install

npm i indigo-sms

Weekly Downloads

0

Version

1.0.0-dev.bcf1f7e

License

MIT

Unpacked Size

2.06 kB

Total Files

3

Last publish

Collaborators

  • benedotdev