Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egg-slack-notifier

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

egg-slack-notifier

slack notifier plugin for egg

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

egg-slack-notifier

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Slack notifier plugin for egg

Install

$ npm i egg-slack-notifier --save

Usage

// {app_root}/config/plugin.js
exports.slackNotifier = {
  enable: true,
  package: 'egg-slack-notifier',
};

Configuration

// {app_root}/config/config.default.js
exports.slackNotifier = {
  client: {
    webhookURL: 'WEBHOOK_URI',
    options: {
      channel: '#general',
      username: 'webhookbot',
    },
  },
};

Example

app.slackNotifier.send({ text: 'This is a line of text.\nAnd this is another one.' })

see punwave-slack-notifier for more detail.

Questions & Suggestions

Please open an issue here.

License

MIT

Keywords

FAQs

Package last updated on 05 Feb 2018

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc