@nexusts/mail
v0.9.7
Published
Outbound email (SMTP / File / Null transports)
Downloads
1,931
Readme
@nexusts/mail
NexusTS — Bun-native fullstack framework
Description
Outbound email (SMTP / File / Null transports).
Three transports: SMTP, file (writes to disk for testing), null (no-op). Optional MJML rendering for HTML emails.
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/mailPeer dependencies
None. No external dependencies for the null / file backends. The SMTP backend works out of the box; no nodemailer needed.
Usage
import { /* public API */ } from "@nexusts/mail";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
