slack-a2dev

slack functions

Usage no npm install needed!

<script type="module">
  import slackA2dev from 'https://cdn.skypack.dev/slack-a2dev';
</script>

README

slack-a2dev

slack functions

usage

var Slack = require("slack-a2dev")

let slack = new Slack({webhookURL: ${yourWebHookURL}})
slack.post("my post")
  .then(data => {
    done()
  })
  .catch(err => done(err))

methods

post (text) Promise

post to slack

let slack = new Slack({webhookURL: ${yourWebHookURL}})
slack.post("my post")
  .then(data => {
    done()
  })
  .catch(err => done(err))

show detail here Building Slack apps | Slack