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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    1
    • latest

Version History

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