Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danwakeem/error2slack

NPM Package that sends any uncaught errors in a Node.JS app to a specific slack channel
https://github.com/danwakeem/error2slack

node-module nodejs slack webhook

Last synced: 26 days ago
JSON representation

NPM Package that sends any uncaught errors in a Node.JS app to a specific slack channel

Awesome Lists containing this project

README

        

# Error2Slack
[![Build Status](https://travis-ci.org/Danwakeem/error2slack.svg?branch=master)](https://travis-ci.org/Danwakeem/error2slack)
[![Coverage Status](https://coveralls.io/repos/github/Danwakeem/error2slack/badge.svg?branch=master)](https://coveralls.io/github/Danwakeem/error2slack?branch=master)

## Installation
```
npm i error2slack --save
```

## Usage
```
require('error2slack')(options);
```

## Options
* url - This should be your slack webhook url
* forceShutdown - Force the shut down of your app when an error occurs