lettr
v0.0.0-alfa-20260117185227
Published
Official Node.js SDK for the [Lettr](https://lettr.com) transactional email API.
Readme
Lettr Node.js SDK
Official Node.js SDK for the Lettr transactional email API.
Installation
bun install lettrUsage
import { Lettr } from "lettr";
const client = new Lettr("your-api-key");
const { data, error } = await client.emails.send({
from: "[email protected]",
to: ["[email protected]"],
subject: "Welcome!",
html: "<p>Hello!</p>",
});
if (error) {
console.error(error.message);
} else {
console.log(data.request_id);
}License
MIT
