node package manager

properjs-slacker

slacker

Slackbot notifications normalized.

Installation

npm install properjs-slacker --save-dev

Usage

Once you have setup your Slack App and added an Incoming Slack Webhook, you can ping your channel with updates.

const slacker = require( "properjs-slacker" );
 
slacker(
    // String 
    slackToken,
 
    // String 
    slackWebhookUrl,
 
    // String 
    slackChannel,
 
    // String 
    messageContext,
 
    // Array 
    messageArray
);