Slack integration for Winston
$ npm install winston-slacker
This transport can be used like most standard Winston transports to send messages to a Slack channel.
Standard options are support as well as the following additions:
webhook: Your Slack channel's webhook URL
channel: The channel to send messages to (with the
username: The username to use for the message in Slack
iconUrl: URL for Slackbot avatar
iconImoji: Emoji for Slackbot icon
customFormatter: Function used to format the message for Slack
var winston = ;var winstonSlacker = ;var options =// Set options up;winston;
To run tests run
npm install and then
npm test from the root directory in your shell.