ws

winston-slack

winston-slack

Showing:

Popularity

Downloads/wk

68

Maintenance

No Maintenance Data Available

Package

Dependencies

2

Size (min+gzip)

223.9KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

winston-slack

Winston Transport for Slack chat integration

$ npm install winston-slack

Also requires install of winston

$ npm install winston

Basic transport that works just like all other winston transports. Sends logged messages to a specified slack chat channel

additonal options:

domain: sub-domain of the slack instance

apiToken: token given by the slack integration API

username: name displayed in the chat channel. default "winston-slack"

var winston = require('winston');
var something = require('winston-slack').Slack;

winston.add(something, {
    domain: "yourcompany",
    apiToken: "j7w7tjBMdytjXzEZu9HQooni",
    channel: "#test-channel",
    username: "ErrorBot",
    level: 'error',
    handleExceptions : true
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial