@supersend/ranla
v0.15.3
Published
Ranla email API client
Maintainers
Readme
@supersend/ranla
Official Node.js / TypeScript client for the Ranla email API.
npm install @supersend/ranlaimport { Ranla } from '@supersend/ranla'
const ranla = new Ranla(process.env.RANLA_API_KEY!)
const email = await ranla.emails.send({
from: '[email protected]',
to: '[email protected]',
subject: 'Your receipt',
html: '<p>Thanks for your purchase.</p>',
})
console.log(email.id, email.status)The client talks to https://api.ranla.ai by default. Pass baseUrl to use another host. API keys may start with rnl_ or stx_.
SuperSendTX is the same class under the previous name:
import { SuperSendTX } from '@supersend/ranla'License
MIT
