{"id":32956210,"url":"https://github.com/Almoullim/vue-tabevents","last_synced_at":"2025-11-13T07:01:52.604Z","repository":{"id":52803121,"uuid":"155920929","full_name":"Almoullim/vue-tabevents","owner":"Almoullim","description":"Event-Based communication across opened tabs for Vue 2.x","archived":false,"fork":false,"pushed_at":"2024-03-03T19:45:28.000Z","size":464,"stargazers_count":33,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T12:47:17.998Z","etag":null,"topics":["events","javascript","vue-plugin","vuejs"],"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/Almoullim.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-02T20:59:38.000Z","updated_at":"2024-03-03T19:45:32.000Z","dependencies_parsed_at":"2024-04-27T04:33:14.997Z","dependency_job_id":"12795b74-a19b-42f2-a993-e69ab381dcb7","html_url":"https://github.com/Almoullim/vue-tabevents","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Almoullim/vue-tabevents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almoullim%2Fvue-tabevents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almoullim%2Fvue-tabevents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almoullim%2Fvue-tabevents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almoullim%2Fvue-tabevents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Almoullim","download_url":"https://codeload.github.com/Almoullim/vue-tabevents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Almoullim%2Fvue-tabevents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284170493,"owners_count":26959115,"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","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["events","javascript","vue-plugin","vuejs"],"created_at":"2025-11-12T23:00:19.022Z","updated_at":"2025-11-13T07:01:52.599Z","avatar_url":"https://github.com/Almoullim.png","language":"JavaScript","funding_links":[],"categories":["Components \u0026 Libraries","UI Utilities","UI Utilities [🔝](#readme)"],"sub_categories":["UI Utilities","Event Handling"],"readme":"# vue-tabevents\n\n[![npm](https://img.shields.io/npm/dm/vue-tabevents.svg?style=flat-square)](https://www.npmjs.com/package/vue-tabevents)\n[![npm](https://img.shields.io/github/package-json/v/almoullim/vue-tabevents.svg?style=flat-square)](https://github.com/almoullim/vue-tabevents/releases)\n[![npm](https://img.shields.io/github/license/almoullim/vue-tabevents.svg?style=flat-square)](https://github.com/almoullim/vue-tabevents/blob/master/LICENSE)\n[![jsdelivr](https://data.jsdelivr.com/v1/package/npm/vue-tabevents/badge)](https://www.jsdelivr.com/package/npm/vue-tabevents)\n[![travisci](https://img.shields.io/travis/Almoullim/vue-tabevents/master.svg?style=flat-square)](https://travis-ci.org/Almoullim/vue-tabevents)\n\nEasy communication between tabs for Vue 2.x\n\n![Basic Screenshot](README/images/demo.gif)\n\n## Getting Started\n\n### Installing\n\nInstall with npm:\n\n```bash\nnpm install --save vue-tabevents\n```\n\nimport into project:\n\n```js\nimport Vue from 'vue';\nimport vueTabevents from 'vue-tabevents';\n\nVue.use(vueTabevents);\n```\n\n## Usage\n\nTo an emit event to other tabs\n\n```\nthis.$tabEvent.emit('eventName');\n\nconst data = {\n\tname: 'Ali'\n\tphone: 123\n}\n\nthis.$tabEvent.emit('eventName', data);\n```\n\nTo listen for events emitted by other types\n\n```\nthis.$tabEvent.on('eventName', callback);\n\nthis.$tabEvent.on('eventName', (data) =\u003e console.log(data));\n```\n\nTo stop listening to an event\n\n```\nthis.$tabEvent.off('eventName');\n```\n\n## Authors\n\n-   **Ali Almoullim** - [almoullim](https://github.com/almoullim)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlmoullim%2Fvue-tabevents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlmoullim%2Fvue-tabevents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlmoullim%2Fvue-tabevents/lists"}