slackjs

A nodejs module for the Slack Incoming Webhooks API

Usage no npm install needed!

<script type="module">
  import slackjs from 'https://cdn.skypack.dev/slackjs';
</script>

README

slackjs

Node module for the Slack Incoming Webhooks API

var slack = require('./index');

slack.config({
  token: 'yourtoken',
  domain: 'yourdomain'
});

var session = test.newSession('#general', 'FancyBot', ':ghost:');

session.message("Hello World!!!!!!!");