slack-ping

1.0.4 • Public • Published

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;
});

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i slack-ping

    Weekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    10

    Last publish

    Collaborators

    • alexbosworth