{"_id":"@10abdullahbutt/websocket-gateway","name":"@10abdullahbutt/websocket-gateway","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@10abdullahbutt/websocket-gateway","version":"1.0.0","description":"My app","main":"index.js","scripts":{"start":"node dist/index.js","build":"tsc","test":"jest","prepare":"husky install","lint":"eslint 'src/**/*.{ts,js}'","lint:fix":"eslint 'src/**/*.{ts,js}' --fix"},"author":{"name":"John Doe"},"license":"ISC","keywords":[],"dependencies":{"@nestjs/common":"^11.1.3","@nestjs/core":"^11.1.3","@nestjs/websockets":"^11.1.3","@types/socket.io":"^3.0.1","reflect-metadata":"^0.2.2","rxjs":"^7.8.2","socket.io":"^4.8.1"},"devDependencies":{"@eslint/eslintrc":"^3.3.1","@types/jest":"^30.0.0","@types/node":"^24.0.10","@typescript-eslint/eslint-plugin":"^8.36.0","@typescript-eslint/parser":"^8.36.0","eslint":"^9.30.1","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.5.1","husky":"^9.1.7","jest":"^30.0.4","prettier":"^3.6.2","ts-jest":"^29.4.0","ts-node":"^10.9.2","typescript":"^5.8.3"},"_id":"@10abdullahbutt/websocket-gateway@1.0.0","gitHead":"adaf82f5aedc0255428e7a09162d6afacc501bc0","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-nZ4YpfTQZzGjCerBH5mHTTn+o5n4fCBSJwJU1PTL5dx1Unv0B+oPVMsZ2zd5fRzODCkLo7hAF+E+VKACgDuRWw==","shasum":"36ce2cf72ed3e9aa607ec88591b055e1c1b84e88","tarball":"https://registry.npmjs.org/@10abdullahbutt/websocket-gateway/-/websocket-gateway-1.0.0.tgz","fileCount":16,"unpackedSize":21458,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD9y8D1FE1mf93tz1rriQah8zXizUrwxMOFB74/5sJwhgIhALuf/HHWErv4Ji5TnQ/QkU+416hDIsZrrN5VigfUMbKh"}]},"_npmUser":{"name":"10abdullahbutt","email":"naeem.dev@boolmind.com","actor":{"name":"10abdullahbutt","email":"naeem.dev@boolmind.com","type":"user"}},"directories":{},"maintainers":[{"name":"10abdullahbutt","email":"naeem.dev@boolmind.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/websocket-gateway_1.0.0_1752076582355_0.12160392900488759"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-09T15:56:22.248Z","1.0.0":"2025-07-09T15:56:22.531Z","modified":"2025-07-09T15:56:22.774Z"},"maintainers":[{"name":"10abdullahbutt","email":"naeem.dev@boolmind.com"}],"description":"My app","keywords":[],"author":{"name":"John Doe"},"license":"ISC","readme":"# @boolmind/websocket-gateway\n\nA NestJS-style WebSocket gateway package for handling real-time communication using Socket.IO. Easily integrate WebSocket support into your NestJS applications.\n\n## Features\n- NestJS-like module and gateway structure\n- Handles connection, disconnection, and message events\n- Emits and receives messages using Socket.IO\n- Ready for Docker and CI/CD\n- Includes Husky pre-commit hooks and Jest tests\n\n## Installation\n```bash\nnpm install @boolmind/websocket-gateway\n```\n\n## Usage\n```typescript\nimport { Module } from '@nestjs/common';\nimport { WebsocketModule } from '@boolmind/websocket-gateway';\n\n@Module({\n  imports: [WebsocketModule],\n})\nexport class AppModule {}\n```\n\n## Gateway Example\n```typescript\nimport { WebsocketGateway } from '@boolmind/websocket-gateway';\n\n// Use as a provider or extend for custom logic\n```\n\n## Scripts\n- `npm run build` — Build TypeScript\n- `npm run test` — Run Jest tests\n- `npm start` — Start the built app\n\n## Docker\nBuild and run with Docker:\n```bash\ndocker build -t boolmind-websocket-gateway .\ndocker run -p 3000:3000 boolmind-websocket-gateway\n```\n\n## Testing\n```bash\nnpm run test\n```\n\n## Contributing\n1. Fork the repo\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n## License\nMIT ","readmeFilename":"README.md","_rev":"1-3328b7845890494cd81dfa9a78b3b8a9"}