simple-slack

Simple Slack error logger


Keywords
starchup
License
GPL-2.0
Install
npm install simple-slack@1.0.11

Documentation

Simple slack

Simple slack error message logger

Installation

npm install simple-slack

Initialization

var simpleSlack = require('simple-slack');
var SLACK = new simpleSlack(webhook, context);

Example

var SLACK = new simpleSlack("https://hooks.slack.com/services/abc", "main.js");
SLACK.ERR("Failed to do something:\n\n" + data);