@all2cf/send
v1.0.0
Published
Typed SDK for customer-owned All2CF Send Runtimes
Readme
@all2cf/send
Typed Node.js and TypeScript client for a customer-owned All2CF Send Runtime.
npm install @all2cf/sendimport { CFsend } from "@all2cf/send";
const send = new CFsend(process.env.ALL2CF_SEND_KEY, {
baseUrl: process.env.ALL2CF_SEND_URL,
});
await send.emails.send({
from: "[email protected]",
to: "[email protected]",
subject: "Hello",
text: "Sent from the customer-owned Runtime.",
});Both the Runtime URL and application key are required. Resend-compatible environment names remain supported for migrations.
