--- title: slack package description: > The `slack` package provides functions for sending messages to [Slack](https://slack.com/). menu: flux_v0_ref: name: slack parent: stdlib identifier: slack weight: 11 cascade: introduced: 0.41.0 --- The `slack` package provides functions for sending messages to [Slack](https://slack.com/). Import the `slack` package: ```js import "slack" ``` ## Options ```js option slack.defaultURL = "https://slack.com/api/chat.postMessage" ``` ### defaultURL `defaultURL` defines the default Slack API URL used by functions in the `slack` package. ## Functions {{< children type="functions" show="pages" >}}