
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@n4it/utility-slack-alerts
Advanced tools
A NestJS module for creating and sending alerts to Slack.
To install the module, use npm:
npm install @n4it/utility-slack-alerts
To use the SlackAlertsModule, import it into your NestJS module and configure it using the register method.
import { SlackAlertsModule } from "@n4it/utility-slack-alerts";
import { Module } from "@nestjs/common";
@Module({
imports: [
SlackAlertsModule.register({
url: "https://hooks.slack.com/services/XXXXXXX/XXXXXX/XXXXXX"
}),
],
})
export class AppModule {}
You can now use it:
import { SlackAlertService } from "@n4it/utility-slack-alerts";
import { Injectable } from "@nestjs/common";
@Injectable()
export class AppService {
constructor(private readonly alertService: SlackAlertService) {}
public send() {
return this.alertService.sendErrorAlert({
message: "My foo error",
})
}
}
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request or open an issue on GitHub.
If you have any questions or need support, you can contact us at info@n4it.nl.
FAQs
Sending Slack alerts from NestJS
We found that @n4it/utility-slack-alerts demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.