Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alcadesign/tmi.js-channelset

Tracks tmi.js channel joins, channel parts, and client disconnects using Set.
https://github.com/alcadesign/tmi.js-channelset

Last synced: about 2 months ago
JSON representation

Tracks tmi.js channel joins, channel parts, and client disconnects using Set.

Awesome Lists containing this project

README

        

# What

This module tracks [tmi.js](https://npmjs.com/tmi.js) channel joins, channel
parts, and client disconnects as a [Set](https://mdn.io/Set) instance.

# Install

```
$ npm install --save tmi.js-channelset
```

# Usage

```javascript
const ChannelSet = require('tmi.js-channelset');

let client = new tmijs.client({
/* ... */
}),
channels = ChannelSet(client);
```

# Example

```
$ git clone https://github.com/AlcaDesign/tmi.js-channelset.git
$ cd tmi.js-channelset
$ npm install
$ node examples\basic.js
```