slack-script-helper

1.0.3 • Public • Published

script-helper

A helper that provides functions that are often used when administering Slack.

To use this you would initialise the helper

const { PlusScriptHelper } = require("./index").setToken( "xoxb-1300385010758-1753XXXXXXXXX" );

And then for example to get all the guest users written out to a csv file you could use the following:

(async () => { try { try { PlusScriptHelper.writeGuestUsersToAFile("testOutput.csv"); } catch (e) { console.log(e); } } catch (error) { console.error(error); } })();

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i slack-script-helper

    Weekly Downloads

    0

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    4.55 kB

    Total Files

    6

    Last publish

    Collaborators

    • ntettenborn