{"id":17335456,"url":"https://github.com/vigneshshanmugam/monitor-sockets","last_synced_at":"2026-03-06T02:48:21.891Z","repository":{"id":57302423,"uuid":"152080391","full_name":"vigneshshanmugam/monitor-sockets","owner":"vigneshshanmugam","description":"Monitor \u0026 debug socket connections in Node.js seamlessly. ","archived":false,"fork":false,"pushed_at":"2018-10-08T16:35:22.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T06:51:16.482Z","etag":null,"topics":["agent","connections","debug","monitor","nodejs","sockets"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vigneshshanmugam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-08T12:58:59.000Z","updated_at":"2020-04-20T18:00:56.000Z","dependencies_parsed_at":"2022-09-20T19:51:16.571Z","dependency_job_id":null,"html_url":"https://github.com/vigneshshanmugam/monitor-sockets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Fmonitor-sockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Fmonitor-sockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Fmonitor-sockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Fmonitor-sockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vigneshshanmugam","download_url":"https://codeload.github.com/vigneshshanmugam/monitor-sockets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248936388,"owners_count":21186022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","connections","debug","monitor","nodejs","sockets"],"created_at":"2024-10-15T15:10:02.820Z","updated_at":"2026-03-06T02:48:16.852Z","avatar_url":"https://github.com/vigneshshanmugam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monitor-sockets\n\nMonitor socket connections in Node.js\n\n### Installation\n\n```js\nyarn add monitor-sockets\n```\n\n### Use\n\n```js\n// In your application index.js file before starting the server\nconst monitor = require(\"monitor-sockets\");\n\nmonitor.start({ interval: 2000 });\n\n// Renders the table on the terminal\n┌────────────────┬─────────┬────────┬──────────┬─────────┬───────────┬───────┐\n│ Socket Name    │ Created │ In Use │ Requests │ Timeout │ Destroyed │ Error │\n├────────────────┼─────────┼────────┼──────────┼─────────┼───────────┼───────┤\n│ localhost:8082 │ 20      │ 18     │ 200      │ 0       │ 0         │ 2     │\n├────────────────┼─────────┼────────┼──────────┼─────────┼───────────┼───────┤\n│ localhost:8085 │ 20      │ 20     │ 500      │ 0       │ 0         │ 0     │\n├────────────────┼─────────┼────────┼──────────┼─────────┼───────────┼───────┤\n│ localhost:8086 │ 20      │ 0      │ 0        │ 0       │ 0         │ 20    │\n└────────────────┴─────────┴────────┴──────────┴─────────┴───────────┴───────┘\n```\n\n### API\n\n### start(options)\n\nStarts monitoring the socket connections for both HTTP and HTTPS.\n\n- `options` {Object}\n\n  - `interval` - Refresh interval to update the data on the Terminal\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigneshshanmugam%2Fmonitor-sockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvigneshshanmugam%2Fmonitor-sockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigneshshanmugam%2Fmonitor-sockets/lists"}