Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alcadesign/tmi.js-channelset
- Owner: AlcaDesign
- License: mit
- Created: 2016-07-24T13:30:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-24T13:42:21.000Z (over 8 years ago)
- Last Synced: 2024-11-22T12:18:56.796Z (2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```