Skip to content

A unified library to send emails - Choose your own email provider

License

Notifications You must be signed in to change notification settings

fayazara/useEmail

Repository files navigation

Supersaas/UseEmail

A Unified hook for sending emails, bring your own provider and use this package to send emails. Works on Node.js, Bun, Deno and Cloudflare Workers. Typesafe and supports modern email providers.

Supported Providers

  1. Resend
  2. Sendgrid
  3. Postmark
  4. Plunk
  5. Mailgun

npm version npm downloads

This is my package description.

Usage

Install package:

# ✨ Auto-detect
npx nypm install use-email

# npm
npm install use-email

# yarn
yarn add use-email

# pnpm
pnpm install use-email

# bun
bun install use-email

Import:

ESM (Node.js, Bun)

import {} from "use-email";

CommonJS (Legacy Node.js)

const {} = require("use-email");

CDN (Deno, Bun and Browsers)

import {} from "https://esm.sh/use-email";

Development

local development
  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Published under the MIT license. Made by community 💛


🤖 auto updated with automd

About

A unified library to send emails - Choose your own email provider

Resources

License

Stars

Watchers

Forks

Packages

No packages published