slack-msg

1.0.0 • Public • Published

slack-msg

Dead simple CLI to send messages to Slack

Install

You can either use npx or install it globally:

npm install -g slack-msg

Usage

After installation, you can send a message to a Slack channel with a single command:

TOKEN=XXX CHANNEL=YYY slack-msg "Your message in markdown"

Make sure to replace XXX with your Slack token and YYY with the channel ID. You can create a Slack app and generate a token from here.

License

MIT © Kamran Ahmed

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i slack-msg

      Weekly Downloads

      0

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      2.07 kB

      Total Files

      3

      Last publish

      Collaborators

      • kamranahmedse