[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10762":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":34,"discoverSource":35},10762,"tmi.js","tmijs\u002Ftmi.js","tmijs","💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)","https:\u002F\u002Ftmijs.com",null,"JavaScript",1592,204,54,26,0,2,19.94,"MIT License",false,"main",true,[24,25,26,27,28,7,29,30],"chat","chatbot","javascript","nodejs","tmi","twitch","twitchdev","2026-06-12 02:02:26","# tmi.js\n\n![Test Workflow Status](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Fworkflows\u002FTest\u002Fbadge.svg)\n[![Npm Version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Ftmi.js.svg?style=flat)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Ftmi.js)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Ftmi.js.svg?style=flat)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Ftmi.js)\n[![Issues](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Ftmijs\u002Ftmi.js.svg?style=flat)](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Fissues)\n[![Node Version](https:\u002F\u002Fimg.shields.io\u002Fnode\u002Fv\u002Ftmi.js.svg?style=flat)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Ftmi.js)\n\n![](https:\u002F\u002Fi.imgur.com\u002Fr1N7y1c.png)\n\n[Website](https:\u002F\u002Ftmijs.com\u002F) |\n[Documentation currently at tmijs\u002Fdocs](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Fdocs\u002Ftree\u002Fgh-pages\u002F_posts) |\n[Changelog on the release page](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Freleases)\n\n## Install\n\n### Node\n\n```bash\n$ npm i tmi.js\n```\n\n```js\nconst tmi = require('tmi.js');\nconst client = new tmi.Client({\n\toptions: { debug: true },\n\tidentity: {\n\t\tusername: 'bot_name',\n\t\tpassword: 'oauth:my_bot_token'\n\t},\n\tchannels: [ 'my_channel' ]\n});\nclient.connect().catch(console.error);\nclient.on('message', (channel, tags, message, self) => {\n\tif(self) return;\n\tif(message.toLowerCase() === '!hello') {\n\t\tclient.say(channel, `@${tags.username}, heya!`);\n\t}\n});\n```\n\n### Browser\n\nAvailable as \"`tmi`\" on `window`.\n\n```html\n\u003Cscript src=\"\u002Fscripts\u002Ftmi.min.js\">\u003C\u002Fscript>\n```\n```html\n\u003Cscript>\nconst client = new tmi.Client({ \u002F* ... *\u002F });\nclient.connect().catch(console.error);\n\u003C\u002Fscript>\n```\n\n#### Prebuilt Browser Releases\n\n[Release page](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Freleases)\n\n#### Build Yourself\n\n```bash\n$ git clone https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js.git\n$ npm install\n$ npm run build\n```\n\n### Type Definitions\n\n```bash\n$ npm i -D @types\u002Ftmi.js\n```\n\n## Community\n\n- Follow [@AlcaMagic on Twitter](https:\u002F\u002Ftwitter.com\u002FAlcaMagic), [Alca on Twitch](https:\u002F\u002Ftwitch.tv\u002Falca).\n- Follow [@Schmoopiie on Twitter](https:\u002F\u002Ftwitter.com\u002FSchmoopiie).\n- Found a bug: [submit an issue.](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Fissues\u002Fnew)\n- Discussion and help about tmi.js: [Twitch API Discord Server](https:\u002F\u002Fdiscord.gg\u002F8NXaEyV)\n- For everything else: [Official TwitchDev Discord Server](https:\u002F\u002Flink.twitch.tv\u002Fdevchat)\n\n## Contributors\n\nThanks to all of the tmi.js [contributors](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Fgraphs\u002Fcontributors)!\n\n## Contributing guidelines\n\nPlease review the [guidelines for contributing](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) of the [tmi.js repository](https:\u002F\u002Fgithub.com\u002Ftmijs\u002Ftmi.js). We reserve the right to refuse a Pull Request if it does not meet the requirements.\n","tmi.js 是一个用于 Twitch 消息接口的 JavaScript 库。它提供了丰富的功能，包括但不限于连接到 Twitch 聊天室、发送和接收消息、管理聊天事件等。该库支持 Node.js 和浏览器环境，使得开发者能够轻松地在各种平台上构建与 Twitch 相关的应用程序或聊天机器人。其简洁的 API 设计让即使是没有太多经验的开发者也能快速上手。tmi.js 适用于需要集成 Twitch 实时聊天功能的各种场景，比如游戏直播辅助工具、自动化聊天响应系统等。","2026-06-11 03:30:03","top_topic"]