Skip to main content
Home

@upyo/core@0.3.1
Built and signed on GitHub Actions

Simple email sending library for Node.js, Deno, Bun, and edge functions

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
a week ago (0.3.1)
type alias Receipt

The response from the email service after sending an email message.

This type uses a discriminated union to ensure type safety:

  • Successful sends have a messageId but no errorMessages
  • Failed sends have errorMessages but no messageId

Definition

{ readonly successful: true; readonly messageId: string; } | { readonly successful: false; readonly errorMessages: readonly string[]; }

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/core

Import symbol

import { type Receipt } from "@upyo/core";
or

Import directly with a jsr specifier

import { type Receipt } from "jsr:@upyo/core";

Add Package

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

Import symbol

import { type Receipt } from "@upyo/core";

Add Package

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

Import symbol

import { type Receipt } from "@upyo/core";

Add Package

vlt install jsr:@upyo/core

Import symbol

import { type Receipt } from "@upyo/core";

Add Package

npx jsr add @upyo/core

Import symbol

import { type Receipt } from "@upyo/core";

Add Package

bunx jsr add @upyo/core

Import symbol

import { type Receipt } from "@upyo/core";