
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
nestjs-slack-notifier
Advanced tools
A simple nest js wrapper around the Slack webhook API. For sending notifications to slack from your nest js application.
npm install nestjs-slack-notifier
or
yarn add nestjs-slack-notifier
// Import module:
import { SlackNotificationModule } from 'nestjs-slack-notifier';
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@Module({
imports: [
SlackNotificationModule.forRoot({
// your slack webhook url goes here
slackWebhookURL: 'xxxxxxxxx',
}),
],
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
// Sending the notification using the serivce class
import { SlackNotificationService } from 'nestjs-slack-notifier';
import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
constructor(
private readonly slackNotificationService: SlackNotificationService,
) {}
async sendMessage() {
return this.slackNotificationService.success({
text: 'Hey this is test',
});
}
}
//Pre-styled messages
await this.slackNotificationService.success({
text: 'Hey this is success message',
});
await this.slackNotificationService.bug({
text: 'Hey this is bug reported',
});
await this.slackNotificationService.error({
text: 'Hey this is error message',
});
MIT. Copyright © 2022 Laxmikanta Nayak
FAQs
Nest js package for slack notification
The npm package nestjs-slack-notifier receives a total of 11 weekly downloads. As such, nestjs-slack-notifier popularity was classified as not popular.
We found that nestjs-slack-notifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.