Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.24 KB

Slack Notifier

Slack Notifier sends notifications and messages to Slack service using Incoming Webhook. It can be used both on the server (Node.js) and the client-side (Browser).

It is basically designed for notification messages, not support file attachment yet. You may also use this for error reporting purpose for your production environment because

  • error stack is sent in code format when an Error object is thrown to the send() method.
  • you can turn on/off the service globally as the enabled option can be given through the configure() method.

Install with npm

npm install slack-notifier --save

Install with bower

bower install slack-notifier --save

CDN

<script src="//cdn.jsdelivr.net/npm/[email protected]/slack-notifier.min.js" type="text/javascript"></script>

Usage

Check the example files:

License

Released under the MIT License.