# send-to-slack

> Simple way to send messages to slack. Works on both the client and server.

Latest version **1.0.1** (published 2015-10-26) · 0 weekly downloads

## Install

```sh
npm install send-to-slack
pnpm add send-to-slack
yarn add send-to-slack
bun add send-to-slack
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-26 |
| First published | 2015-10-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Matthew Mueller |
| Maintainers | mattmueller |
| Keywords | slack, send, simple |

## Links

- npm: https://www.npmjs.com/package/send-to-slack
- Repository: https://github.com/LapwingLabs/send-to-slack
- Homepage: https://github.com/LapwingLabs/send-to-slack#readme
- Issues: https://github.com/LapwingLabs/send-to-slack/issues
- npm.io page: https://npm.io/package/send-to-slack

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^2.2.0
- [superagent](https://npm.io/package/superagent.md) ^1.4.0
- [object-assign](https://npm.io/package/object-assign.md) ^4.0.1

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-10-26
- 1.0.0 — 2015-10-19

## README

# send-to-slack

  Simple way to send messages to slack. Works on both the client and server.

## Installation

```
npm install send-to-slack
```

### Usage

```js
var Slack = require('send-to-slack')(webhook_url)
var send = Slack({
  channel: '#general',
  username: 'ava'
})

send('hi i am ava!', {
  field: 'value'
})
```

Take a look at the [example.js](example.js) for more ways to use `send-to-slack`.

## Things to Note about the Slack API

If you want to make your links clickable, you'll need to wrap them in open and close angle brackets. Example: `http://google.com => <http://google.com>`.

## License

(The MIT License)

Copyright (c) 2015 Matthew Mueller &lt;matt@lapwinglabs.com&gt;

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---
_Source: https://npm.io/package/send-to-slack · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
