@radzor/notification-hub
Fan-out notifications to multiple channels including email (SMTP/SendGrid), SMS (Twilio), push (FCM), and Slack webhooks. Register channels dynamically and track delivery status.
Messagingv0.1.0typescriptpythonServernotificationemailsmspushslackfan-outmulti-channelby Radzor
Install
View source on GitHub →$npx radzor@latest add notification-hub
⚠ Constraints: Each channel type requires its own credentials in the config parameter: email needs SMTP host/port/user/pass or SendGrid API key; sms needs Twilio SID/token/from; push needs FCM server key; slack needs webhook URL. No external dependencies — all transports use raw fetch.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| defaultChannels | string[] | Default channel names to send to when none specified (e.g. ["email", "slack"]). | |
| retryAttempts | number | 2 | Number of retry attempts on delivery failure (default: 2). |
defaultChannelsstring[]
Default channel names to send to when none specified (e.g. ["email", "slack"]).
default:
retryAttemptsnumber
Number of retry attempts on delivery failure (default: 2).
default: 2
Outputs
| Name | Type | Description |
|---|