New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

@bonvoy/plugin-slack

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonvoy/plugin-slack

🚢 Slack notification plugin for bonvoy

latest
Source
npmnpm
Version
0.12.1
Version published
Maintainers
1
Created
Source

@bonvoy/plugin-slack

Slack notification plugin for bonvoy. Sends release notifications to Slack channels.

Installation

npm install @bonvoy/plugin-slack

Usage

Two authentication methods are supported:

Option 1: Webhook URL (simpler)

Create an Incoming Webhook in Slack, then:

// bonvoy.config.js
export default {
  plugins: [
    ['@bonvoy/plugin-slack', {
      webhookUrl: process.env.SLACK_WEBHOOK_URL,
      channel: '#releases',  // optional, overrides webhook default
    }]
  ]
};

Option 2: Bot Token (more flexible)

Create a Slack App with chat:write scope, then:

// bonvoy.config.js
export default {
  plugins: [
    ['@bonvoy/plugin-slack', {
      token: process.env.SLACK_BOT_TOKEN,  // xoxb-...
      channel: '#releases',                 // required with token
    }]
  ]
};

Configuration

OptionTypeRequiredDescription
webhookUrlstringOne of webhookUrl or tokenSlack webhook URL
tokenstringOne of webhookUrl or tokenSlack Bot Token (xoxb-...)
channelstringRequired with tokenChannel to post to
usernamestringNoBot username
iconEmojistringNoBot icon emoji (e.g., :rocket:)
mentionsstring[]NoUsers/groups to mention (e.g., ['@here', '<@U123>'])
onSuccessbooleanNoSend on success (default: true)
onFailurebooleanNoSend on failure (default: false)
includeChangelogbooleanNoInclude changelog in message (default: true)

Message Format

The plugin sends rich Slack messages using Block Kit:

🚀 Released 2 packages

• @myorg/core@1.2.0 (npm | release)
• @myorg/utils@1.1.0 (npm | release)

────────────────────
@myorg/core
- feat: add new feature
- fix: resolve bug

Environment Variables

# Webhook method
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/T.../B.../xxx

# Bot method
SLACK_BOT_TOKEN=xoxb-...

License

MIT

Keywords

bonvoy

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

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