Needlessly Provoking Marsupials

    slack-block-msg-kit
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    Slack Block Message Kit

    Maintainability Test Coverage npm version CircleCI

    This is a simple library that helps build slack block messages and all it's elements. It has robust validations to ensure mistakes are not made with the message formating.

    Table of Content

    How to Use

    Typically you will have setup a slack bot you wish to use in sending messages on slack. This document does not contain any instructions on how to setup a slack bot or how to communicate with the slack API for that mater. The instructions detailed below are to help build the slack message layout blocks that are sent to slack for display.

    Install the package as a dependency to get started. npm i --save slack-block-msg-kit

    To create an interactive message that has the payload to be sent to slack, make use of the InteractiveMessage class. Please note that the interactive message implementation here only supports the slack block kits. Support will be added for the legacy attachments.

    Below is a list of all the available blocks, elements and composition objects to be used in crafting your slack messages.

    Slack Dialogs

    Dialogs are a very convenient way of collecting information on slack. We have included a dialog class together with all supporting element to aid the creation of dialogs and elements in your codebase. Here is a list to the documentation of the dialog and all the elements.

    Contributors

    How to Contribute

    Here is a little help with that.

    Install

    npm i slack-block-msg-kit

    DownloadsWeekly Downloads

    10

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    122 kB

    Total Files

    67

    Last publish

    Collaborators

    • iyikuyoro