import { ApiAlerts } from 'apialerts-js';
const client = new ApiAlerts('YOUR-API-KEY');
// Simple notification
await client.send({ message: 'Deployment successful' });
// With all options
await client.send({
message: 'New user signed up',
channel: 'developers',
link: 'https://dashboard.example.com/users/123',
tags: ['signup', 'organic'],
});