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); } })();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    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