0.1.7 • Published 10 years ago

winston-for-slackers v0.1.7

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

winston-for-slackers

A slack transport for winston

npm downloads

Installation

Installing winston-for-slackers

$ npm install winston
$ npm install winston-for-slackers

Usage

winston = require('winston');
require('winston-for-slackers').Slack;
winston.add(winston.transports.Slack, options);

Options

team your team.slack.com

channel The channel you want these alerts to be posted to.

token Your token (https://hooks.slack.com/services/something/something/token)

emoji: The emoji you want to use, defaults to ':page_with_curl:'

username The username that you want the bot to use, defaults to 'Winston'

Example Options

options = {
    team: "testing",
    channel: "#general",
    token: "safhahfslshafu",
    emoji: ":smile:",
    username: "MCBrandenburg"
}
0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago