Skip to content

Latest commit

 

History

History
96 lines (62 loc) · 2.1 KB

README.md

File metadata and controls

96 lines (62 loc) · 2.1 KB

@unproducts/unmail

npm version npm downloads

Unified email API for sending transactional emails across 10+ providers. You can write your own drivers too.

Built-in drivers for major providers.
Shipped with built in server for microservice requirements.
Built in testing drivers to mock mail sending in unit tests and local development.
Comprehensive support for writing custom drivers.
Support for raw SMTP (via Node Mailer)

Usage

Install package:

# ✨ Auto-detect
npx nypm install @unproducts/unmail

# npm
npm install @unproducts/unmail

# yarn
yarn add @unproducts/unmail

# pnpm
pnpm install @unproducts/unmail

# bun
bun install @unproducts/unmail

# deno
deno install @unproducts/unmail

Import:

ESM (Node.js, Bun)

import { createUnmail } from '@unproducts/unmail';

CommonJS (Legacy Node.js)

const { createUnmail } = require('@unproducts/unmail');

Development

local development
  • Clone this repository
  • Install latest LTS version of Node.js
  • Install dependencies using yarn install
  • Run interactive tests using yarn dev

License

Published under the MIT license. Made by community 💛


🤖 auto updated with automd