{"_id":"@0abdullah/kient","_rev":"1-7847cc01b5e562b7364d973c792103b6","name":"@0abdullah/kient","description":"TypeScript-First Client Library for Kick.com","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.4":{"name":"@0abdullah/kient","version":"1.0.4","author":{"name":"0Abdullah"},"license":"MIT","_id":"@0abdullah/kient@1.0.4","maintainers":[{"name":"0abdullah","email":"abdullahazzani3@gmail.com"}],"homepage":"https://github.com/0Abdullah/kient#readme","bugs":{"url":"https://github.com/0Abdullah/kient/issues"},"dist":{"shasum":"1f849168727a08bd758cf00c8d7b8e649d1e3f28","tarball":"https://registry.npmjs.org/@0abdullah/kient/-/kient-1.0.4.tgz","fileCount":7,"integrity":"sha512-J3r3LHSRj7hPwiZ4T5uVOrzq58pnmLbgkkWZJJihqQXDulkWP71xsDalYPS8eNzlVP35lMwUy3sKdNWy9Y8omA==","signatures":[{"sig":"MEQCIDySOTP/htyVb63lNhe+Skdff/bpMNVMt7FtIG5QHRpdAiAmwipmKaMSs538INwTTfND/6nxCrCB4uhDGe5PXBwf6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279095},"main":"./dist/index.cjs","type":"module","_from":"file:0abdullah-kient-1.0.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"pnpm --filter playground dev","lint":"eslint .","build":"tsup","release":"pnpm changelog:release","docs:dev":"tsup-node --config tsup-typedoc.config.ts && typedoc && vitepress dev docs","docs:build":"tsup-node --config tsup-typedoc.config.ts && typedoc && vitepress build docs","prerelease":"pnpm changelog:prerelease","docs:preview":"vitepress preview docs","changelog:release":"changelogen --output --release","changelog:prerelease":"changelogen --output --release --prerelease"},"_npmUser":{"name":"0abdullah","email":"abdullahazzani3@gmail.com"},"_resolved":"C:\\Users\\Abdul\\AppData\\Local\\Temp\\b296779f928eaf3ea9e51e3e73425ee2\\0abdullah-kient-1.0.4.tgz","_integrity":"sha512-J3r3LHSRj7hPwiZ4T5uVOrzq58pnmLbgkkWZJJihqQXDulkWP71xsDalYPS8eNzlVP35lMwUy3sKdNWy9Y8omA==","repository":{"url":"git+https://github.com/0Abdullah/kient.git","type":"git"},"_npmVersion":"10.5.2","description":"TypeScript-First Client Library for Kick.com","directories":{},"_nodeVersion":"20.13.1","dependencies":{"tseep":"^1.1.3","ofetch":"^1.3.3","cycletls":"^1.0.22","exit-hook":"^4.0.0","pusher-js":"^8.3.0","tough-cookie":"^4.1.3","@deepkit/type":"1.0.1-alpha.105","strict-event-emitter":"^0.5.1"},"_hasShrinkwrap":false,"devDependencies":{"pnpm":"^8.10.2","tsup":"^7.2.0","eslint":"^8.53.0","typedoc":"^0.25.4","vitepress":"1.0.0-rc.25","typescript":"5.2.2","@types/node":"^20.9.0","changelogen":"^0.5.5","@types/eslint":"^8.44.7","@types/tough-cookie":"^4.0.5","@antfu/eslint-config":"^1.1.0","@deepkit/type-compiler":"1.0.1-alpha.105","typedoc-plugin-markdown":"4.0.0-next.35","typedoc-vitepress-theme":"1.0.0-next.3","typedoc-plugin-frontmatter":"^0.0.2","@gjsify/esbuild-plugin-deepkit":"^0.0.3","typedoc-plugin-missing-exports":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/kient_1.0.4_1720196734890_0.5516426636529657","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@0abdullah/kient","type":"module","version":"1.0.5","description":"TypeScript-First Client Library for Kick.com","author":{"name":"0Abdullah"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/0Abdullah/kient.git"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@deepkit/type":"1.0.1-alpha.105","cycletls":"^1.0.22","exit-hook":"^4.0.0","ofetch":"^1.3.3","pusher-js":"^8.3.0","strict-event-emitter":"^0.5.1","tough-cookie":"^4.1.3","tseep":"^1.1.3"},"devDependencies":{"@antfu/eslint-config":"^1.1.0","@deepkit/type-compiler":"1.0.1-alpha.105","@gjsify/esbuild-plugin-deepkit":"^0.0.3","@types/eslint":"^8.44.7","@types/node":"^20.9.0","@types/tough-cookie":"^4.0.5","changelogen":"^0.5.5","eslint":"^8.53.0","pnpm":"^8.10.2","tsup":"^7.2.0","typedoc":"^0.25.4","typedoc-plugin-frontmatter":"^0.0.2","typedoc-plugin-markdown":"4.0.0-next.35","typedoc-plugin-missing-exports":"^2.1.0","typedoc-vitepress-theme":"1.0.0-next.3","typescript":"5.2.2","vitepress":"1.0.0-rc.25"},"scripts":{"build":"tsup","dev":"pnpm --filter playground dev","docs:dev":"tsup-node --config tsup-typedoc.config.ts && typedoc && vitepress dev docs","docs:build":"tsup-node --config tsup-typedoc.config.ts && typedoc && vitepress build docs","docs:preview":"vitepress preview docs","lint":"eslint .","changelog:prerelease":"changelogen --output --release --prerelease","changelog:release":"changelogen --output --release","prerelease":"pnpm changelog:prerelease","release":"pnpm changelog:release"},"bugs":{"url":"https://github.com/0Abdullah/kient/issues"},"homepage":"https://github.com/0Abdullah/kient#readme","_id":"@0abdullah/kient@1.0.5","_integrity":"sha512-qDOWjEnPobFgmO4zwtjJVApqjfyx9Y2B47pC5xIMDGJZtmfK+VTC/eH4A+qhoBnki0e8OOa6dPyofEEtXY3lYQ==","_resolved":"C:\\Users\\Abdul\\AppData\\Local\\Temp\\4a6bf341b0ec1b4731978a94e9b1a55e\\0abdullah-kient-1.0.5.tgz","_from":"file:0abdullah-kient-1.0.5.tgz","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-qDOWjEnPobFgmO4zwtjJVApqjfyx9Y2B47pC5xIMDGJZtmfK+VTC/eH4A+qhoBnki0e8OOa6dPyofEEtXY3lYQ==","shasum":"95d575605a225aeccea6b13e2ea31004b5a76074","tarball":"https://registry.npmjs.org/@0abdullah/kient/-/kient-1.0.5.tgz","fileCount":7,"unpackedSize":279552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGs3K6gqcb4mwZ306S6s8fUj14OsPXsAJFa0jQWKSP6gAiEAn75n6GWgGN8b53o8NTSQtXl6rTj5DZtrhfLNIhnYMHg="}]},"_npmUser":{"name":"0abdullah","email":"abdullahazzani3@gmail.com"},"directories":{},"maintainers":[{"name":"0abdullah","email":"abdullahazzani3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kient_1.0.5_1720197963273_0.36521025203577784"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-05T16:25:34.801Z","modified":"2024-07-05T16:46:03.740Z","1.0.4":"2024-07-05T16:25:35.134Z","1.0.5":"2024-07-05T16:46:03.574Z"},"maintainers":[{"name":"0abdullah","email":"abdullahazzani3@gmail.com"}],"author":{"name":"0Abdullah"},"repository":{"type":"git","url":"git+https://github.com/0Abdullah/kient.git"},"license":"MIT","homepage":"https://github.com/0Abdullah/kient#readme","bugs":{"url":"https://github.com/0Abdullah/kient/issues"},"readme":"<h1 align=\"center\">\r\nKient\r\n</h1>\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://github.com/zSoulweaver/kient/blob/master/LICENSE\">\r\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge&labelColor=181a1e&color=00e701&\">\r\n  </a>\r\n  <a href=\"https://www.npmjs.com/package/kient\">\r\n    <img src=\"https://img.shields.io/npm/v/kient.svg?logo=npm&style=for-the-badge&labelColor=181a1e&color=00e701&logoColor=fff\">\r\n  </a>\r\n  <a href=\"https://kient.pages.dev/\">\r\n    <img src=\"https://img.shields.io/badge/Documentation-fff?style=for-the-badge\">\r\n  </a>\r\n</p>\r\n\r\n## About\r\n\r\nKient (**K**ick-Cl**ient**) is a versatile TypeScript client designed to simplify interaction with Kick's API and WebSocket. With Kient, you can seamlessly integrate Kick's platform into your projects, making it easier than ever to leverage its capabilities.\r\n\r\n\r\n## Documentation\r\n\r\nLearn how to use Kient and find detailed information on the [website](https://kient.pages.dev/).\r\n\r\n## Installation and Example Usage\r\n\r\nInstall Kient with your preferred package manager.\r\n\r\n```bash\r\n$ pnpm add kient\r\n```\r\n\r\nImport Kient, create a new instance, and interact with API endpoints or listen to WebSocket events.\r\n```ts\r\nimport { Events, Kient } from 'kient'\r\n\r\n// Create a new client instance\r\nconst client = await Kient.create()\r\n\r\n// Get a channel and listen to its chatroom\r\nconst channel = await client.api.channel.getChannel('channel_slug')\r\nawait client.ws.chatroom.listen(channel.data.chatroom.id)\r\n\r\n// Handle incoming messages\r\nclient.on(Events.Chatroom.Message, (message) => {\r\n  console.log(message.data)\r\n})\r\n```\r\n\r\n## License\r\n\r\nKient is licensed under the [MIT License](https://github.com/zSoulweaver/kient/blob/master/LICENSE).\r\n","readmeFilename":"readme.md"}