# slack-giphy-node

> A simple node library that pulls a random GIF from giphy.com and posts it to slack

Latest version **1.0.1** (published 2016-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install slack-giphy-node
pnpm add slack-giphy-node
yarn add slack-giphy-node
bun add slack-giphy-node
```

## 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 | 2016-08-25 |
| First published | 2016-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mujtaba Al-Tameemi |
| Maintainers | mujz |
| Keywords | slack, giphy, deploy, notification |

## Links

- npm: https://www.npmjs.com/package/slack-giphy-node
- Repository: https://github.com/mujz/slack-giphy-node
- Homepage: https://github.com/mujz/slack-giphy-node#readme
- Issues: https://github.com/mujz/slack-giphy-node/issues
- npm.io page: https://npm.io/package/slack-giphy-node

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-08-25
- 1.0.0 — 2016-08-25

## README

# slack-giphy-node

A tiny library that does one thing; post a GIF to slack. Some example use cases include: 
- Posting a notification to a deployment channel every time your app restarts, 
- or posting a make it rain GIF every time you receive money through your app.

# Install

```bash
npm i slack-giphy-node
```

# Usage

Simply require the library in your app and pass your Giphy API key and Slack webhook URL to it:
```js
require('slack-giphy-node')({
  giphyAPIKey: 'dc6zaTOxFJmzC',
  webhookUrl: 'https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX'
});
```
You can also pass the following optional properties for extra control:

- `tag`: The GIF tag to limit randomness by.
- `rating`: Limit results to those rated (y,g, pg, pg-13 or r). Default is pg.
- `text`: Add a text to the slack message in addition to the GIF.

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