0.1.7 • Published 8 years ago

winston-for-slackers v0.1.7

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago