supersendtx
v0.15.3
Published
SuperSend TX transactional email API client
Maintainers
Readme
supersendtx
Official Node.js / TypeScript client for the SuperSend TX transactional email API.
npm install supersendtxexport SUPERSENDTX_API_KEY=stx_your_key_hereimport { SuperSendTX } from 'supersendtx'
const tx = new SuperSendTX(process.env.SUPERSENDTX_API_KEY!)
const email = await tx.emails.send({
from: '[email protected]',
to: '[email protected]',
subject: 'Your receipt',
html: '<p>Thanks for your purchase.</p>',
})
console.log(email.id, email.status)Adapters
Optional entry points (install peer deps as needed):
| Import | Package / peer |
|--------|----------------|
| supersendtx/nodemailer | supersendtx-nodemailer + nodemailer |
| supersendtx/better-auth | supersendtx-better-auth |
| supersendtx/authjs | supersendtx-authjs |
| supersendtx/clerk | supersendtx-clerk |
| supersendtx/payload | supersendtx-payload |
Docs
- Quickstart: https://docs.supersendtx.com/quickstart
- Node / Nodemailer: https://docs.supersendtx.com/frameworks/node
- API reference: https://docs.supersendtx.com/api/emails
- Product: https://supersendtx.com
License
MIT
