1.0.5 • Published 7 years ago

loungebuddy-slack v1.0.5

Weekly downloads
10
License
ISC
Repository
github
Last release
7 years ago

setToFixed

Small NPM module for interfacting with Slack. Preserves the interface used from when this was Parse utility class

Installation & Use

npm install loungebuddy-slack

var Slack = require('loungebuddy-slack);
var slack = new Slack({
	channel: "#general",
	token: "aToken",
})

Parameters

Parameters can be passed via either ENV variables (in the process env or a .env file) OR via a dictionary argument to constructor

Required Parameters:

  • Slack Token: passed either in constructor options with the token property or in ENV as SLACK_API_TOKEN.
  • Slack Channel: passed in constructor options with the channel property.

Optional Parameters:

  • Slack Icon: passed either in constructor options with the icon_url property or in ENV as SLACK_ICON.
  • Slack Username: passed either in constructor options with the username property in ENV as SLACK_USERNAME.
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago