| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| tmi.min.js | 2021-04-13 | 52.7 kB | |
| tmi.min.js.map | 2021-04-13 | 63.3 kB | |
| tmi.js | 2021-04-13 | 130.2 kB | |
| README.md | 2021-04-13 | 1.6 kB | |
| tmi.js v1.8.0.tar.gz | 2021-04-13 | 153.0 kB | |
| tmi.js v1.8.0.zip | 2021-04-13 | 160.6 kB | |
| Totals: 6 Items | 561.5 kB | 1 | |
v1.8.0
- f9a5b3a The option
connection.reconnectis nowtrueby default. -
43900a9 Added option
options.skipMembership(falseby default) to not receive JOIN/PART messages for other users. This can reduce a lot of the spammy data that's getting blasted at the client.:::js const client = new tmi.Client({ options: { skipMembership: true } }); - c74c2bb - Added option
options.skipUpdatingEmotesets(falseby default) to skip calling theemoticon_imagesAPI which can be a lot of data. Theemotesetsevent will still be called but the second argument will just be an empty object. - Added optionoptions.updateEmotesetsTimer(60000(ms) by default) to change how often theemoticon_imagesAPI will be recalled. Set to0or a negative number (orfalse) to disable the timer entirely.:::js const client = new tmi.Client({ options: { skipUpdatingEmotesets: true, updateEmotesetsTimer: 0 } }); - 33c15c7 The Client has been converted to a class style. - ff341d2
Client.prototype.apiwill now warn on use as it's deprecated and will be removed by the next minor version, 1.9.0. It's not intended to be a great choice for API requests. Either directly usefetch/node-fetch, another request library, or a Twitch-specific library liketwitchon npm. -
76edfc8 dea8eed 5ea712f f689bc5 Remove various util functions.
- 8f3a849 Fixed possible case fallthrough bug.
- efc6cdb Add eslint (and many more commits related to facelifting the repo)
v1.7.5
- 9d8ca1c Add "sub" alias for "subscription" event