slack-ping

v1.0.1
Minimal notification pinger for Slack

Slack Ping

Send a text ping notification to Slack.

Example:

const {notifySlack} = require('slack-ping');

const text = 'Ping';
const token = process.env.SECRET_SLACK_BOT_TOKEN;

notifySlack({text, token}, err => {
  if (!!err) {
    return console.log(err);
  }
  
  return;
});

Metadata

  • MIT
  • Whatever
  • Alex Bosworth
  • released 1/8/2019

Downloads

Maintainers