AlertNow

Instant Alerts for Your Applications

Get real-time notifications in Discord, Slack, and more—directly from your code. Simple setup, powerful results.

Supported Channels

DiscordAvailable Now
SlackComing Soon
TelegramComing Soon
MS TeamsComing Soon

Get Started Now!

Installation

npm install alertnow

Setup

const alertnow = new AlertNowBuilder()
.setDriver('discord')
.setWebhook('https://your-discord-webhook')
.build()

Send Alert

try {
throw new Error('your error')
} catch (err) {
alertnow.send("unknown error", err.Message(), data)
}

Received Alert

AlertNow BotToday at 8:43:16 PM
🚨 ALERT: unknown error
Error Message:
your error
Additional Data:
{
"service": "api-gateway",
"endpoint": "/users",
"timestamp": "2025-04-12T20:43:16.475Z"
}
Sent from production
Discord