features
@particular/notifications
Multi-channel notifications
Installation
bun add @particular/notifications
Key Exports
| Export | Type | Description |
|---|---|---|
| sendNotification | function | Send a notification |
| NotificationChannel | type | Channel type (email, sms, push) |
Usage Examples
Send email notification
import { sendNotification } from "@particular/notifications";
await sendNotification({
channel: "email",
to: "user@example.com",
subject: "Welcome!",
});