Better-Notify for NestJS

Use Better-Notify as a NestJS service. Inject the typed client into controllers, services, or guards — notification routes stay type-safe across your entire dependency tree.

Why it fits

Example

notifications.service.ts
import { Injectable } from '@nestjs/common';
import { mail } from './notifications.client';

@Injectable()
export class NotificationsService {
  async sendWelcome(email: string, name: string) {
    return mail.welcome.send({
      to: email,
      input: { name },
    });
  }
}
Get startedBrowse integrations

Also works with