Skip to main content
Home
This release is 4 versions behind 0.4.0 — the latest version of @upyo/core. Jump to latest

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

Works with
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 Score100%
Downloads123/wk
Published2 months ago (0.3.1)

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

Functions

f
formatAddress

Formats an address object into a string representation. This function is an inverse of the parseAddress function.

f
isEmailAddress

Type guard function that checks if a given value is a valid email address.

f
parseAddress

Parses a string representation of an email address into an Address object. This function is an inverse of the formatAddress function.

Interfaces

I
Address

A pair of name (which is optional) and email address.

Type Aliases

T
EmailAddress

A type alias for email address strings that must contain an @ symbol.

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 * as mod from "@upyo/core/address";
or

Import directly with a jsr specifier

import * as mod from "jsr:@upyo/core/address";

Add Package

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

Import symbol

import * as mod from "@upyo/core/address";

Add Package

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

Import symbol

import * as mod from "@upyo/core/address";

Add Package

vlt install jsr:@upyo/core

Import symbol

import * as mod from "@upyo/core/address";

Add Package

npx jsr add @upyo/core

Import symbol

import * as mod from "@upyo/core/address";

Add Package

bunx jsr add @upyo/core

Import symbol

import * as mod from "@upyo/core/address";