npm

@unproducts/unmail
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @unproducts/unmail

Weekly Downloads

4

Version

0.0.2

License

MIT

Unpacked Size

39.5 kB

Total Files

29

Last publish

Collaborators

  • amandesai01