Skip to main content
Home
This release is 1 version behind 0.3.1 — the latest version of @upyo/resend. Jump to latest

@upyo/resend@0.3.0-dev.36+e7618f03
Built and signed on GitHub Actions

Resend transport for Upyo email library

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (0.3.0-dev.36+e7618f03)
interface ResendConfig

Configuration interface for Resend transport connection settings.

This interface defines all available options for configuring a Resend API connection including authentication and HTTP options.

Examples

Example 1

const config: ResendConfig = {
  apiKey: 'your-api-key',
  timeout: 30000,
  retries: 3
};

Properties

readonly
apiKey: string

Your Resend API key.

You can find your API key in the Resend dashboard at https://resend.com/api-keys. It should start with 're_' for API keys.

readonly
optional
baseUrl: string

Base URL for the Resend API.

readonly
optional
timeout: number

HTTP request timeout in milliseconds.

readonly
optional
retries: number

Number of retry attempts for failed requests.

readonly
optional
validateSsl: boolean

Whether to validate SSL certificates.

readonly
optional
headers: Record<string, string>

Additional HTTP headers to include with requests.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";
or

Import directly with a jsr specifier

import { type ResendConfig } from "jsr:@upyo/resend";

Add Package

pnpm i jsr:@upyo/resend
or (using pnpm 10.8 or older)
pnpm dlx jsr add @upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";

Add Package

yarn add jsr:@upyo/resend
or (using Yarn 4.8 or older)
yarn dlx jsr add @upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";

Add Package

vlt install jsr:@upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";

Add Package

npx jsr add @upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";

Add Package

bunx jsr add @upyo/resend

Import symbol

import { type ResendConfig } from "@upyo/resend";