slack-history

get the history of a slack channel or group

Usage no npm install needed!

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

README

Slack history

Get the full slack history of a channel or group

Installation

npm install slack-history

CLI

SLACK_TOKEN=... slack-history general > activity.txt

API

history(token, channel, fn)

Return a list of messages in chronological order

License

MIT