Socket
Socket
Sign inDemoInstall

@braira/notifier

Package Overview
Dependencies
53
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @braira/notifier

CLI for sending notifications via webhook


Version published
Maintainers
2
Created

Readme

Source

Notifier - AIRA module

Allows you to send message to Slack via webhook. Message can be configured in separated JSON file, that can use Mustache template interpolations within values. You can place this configuration together with other configuration files in you repository and then use it in CI/CD.

In order to use it you must install AIRA CLI, and that plugin. Plugin existance will be detected automatically and aira notify --help will show you how to use the plugin.

Example

.notification.slack.json

{
  "color": "good",
  "pretext": "New version {{{v}}} release! :tada:",
  "text": "My awesome library is better now! See changelog: {{{link}}}",
  "title": "Version {{{v}}}",
  "title_link": "{{{link}}}"
}

CMD

  aira notify <webhook> .notification.slack.json --payload.link=<link> --payload.v=<tag>

Keywords

FAQs

Last updated on 01 Mar 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc