{"id":22339767,"url":"https://github.com/scriptollc/karma-socketio-server","last_synced_at":"2025-10-25T03:31:39.681Z","repository":{"id":57288568,"uuid":"47435158","full_name":"scriptoLLC/karma-socketio-server","owner":"scriptoLLC","description":"A socketio server framework plugin for karma","archived":false,"fork":false,"pushed_at":"2019-02-13T00:10:10.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T17:27:06.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptoLLC.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":"2015-12-05T00:09:20.000Z","updated_at":"2015-12-05T00:09:26.000Z","dependencies_parsed_at":"2022-09-08T12:00:50.579Z","dependency_job_id":null,"html_url":"https://github.com/scriptoLLC/karma-socketio-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scriptoLLC/karma-socketio-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fkarma-socketio-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fkarma-socketio-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fkarma-socketio-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fkarma-socketio-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptoLLC","download_url":"https://codeload.github.com/scriptoLLC/karma-socketio-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fkarma-socketio-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262362063,"owners_count":23299122,"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":[],"created_at":"2024-12-04T07:09:21.953Z","updated_at":"2025-10-25T03:31:34.658Z","avatar_url":"https://github.com/scriptoLLC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-socketio-server\nMake it easy to start up a socket.io server during karma tests\n\n## Installation\n```shell\nnpm install --save-dev karma-socketio-server\n```\n\n## Usage\n```js\nmodule.exports = function (config) {\n  // your karma config goes here\n  socketioServer: {\n    port: 9999, //default port unless you set something different\n    onConnect: function (socket) {\n      // do something with the connected client\n      socket.on('message', function (msg) {\n        console.log('i got a message!', msg)\n      })\n    },\n    ready: function (io) {\n      // do something with the socket.io instance\n    }\n  },\n  frameworks: ['socketio-server']\n}\n```\n\n## Thanks\nThanks to [karma-websocket-server](https://github.com/weblogixx/karam-websocket-server) for the template on how to do this\n\n## License\nCopyright (c) 2015 Scripto; [Apache 2.0](License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Fkarma-socketio-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptollc%2Fkarma-socketio-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Fkarma-socketio-server/lists"}