{"id":19689187,"url":"https://github.com/Intevel/vue-browser-notifications","last_synced_at":"2025-04-29T08:35:11.443Z","repository":{"id":57750392,"uuid":"524736499","full_name":"Intevel/vue-browser-notifications","owner":"Intevel","description":"💬 Easy to use Vue 3 composable for managing browser notifications","archived":false,"fork":false,"pushed_at":"2022-10-06T18:55:55.000Z","size":99,"stargazers_count":28,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T10:04:36.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Intevel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-08-14T17:28:49.000Z","updated_at":"2023-12-01T00:34:24.000Z","dependencies_parsed_at":"2022-08-26T08:31:24.907Z","dependency_job_id":null,"html_url":"https://github.com/Intevel/vue-browser-notifications","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"Intevel/vue-composable-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fvue-browser-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fvue-browser-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fvue-browser-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intevel%2Fvue-browser-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intevel","download_url":"https://codeload.github.com/Intevel/vue-browser-notifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251465277,"owners_count":21593853,"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-11-11T18:42:58.797Z","updated_at":"2025-04-29T08:35:10.257Z","avatar_url":"https://github.com/Intevel.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# 💬 vue-browser-notifications\n\nEasy to use Vue 3 composable for managing browser notifications\n\n- 🧩 **TypeScript** Support\n- 🌐 **Vue 3** Support\n- ✅ Send \u0026 Close Browser Notifications\n\n## 📋 Installation\n\n```\nyarn add vue-browser-notifications\n\nnpm install vue-browser-notifications\n```\n\n## 🔗 Options\n\n```ts\nuseNotifications(requestOnNotify: boolean, options?: NotificationOptions)\n```\n\n**`requestOnNotify`**\n- Default: `true`\n- Will request permissions everytime `sendNotification` is executed\n\n**`options`**\n- *Optional*\n- Type: [NotificationOptions](https://github.com/Intevel/vue-browser-notifications/blob/master/src/types/index.d.ts#L1)\n- Will override options on `sendNotifications`, can be used for global Notification settings like Icons.\n\n## 💻 Example\n\n```ts\n\u003cscript setup lang=\"ts\"\u003e\nimport { useNotifications } from 'vue-browser-notifications'\nconst { requestPermission, sendNotification } = useNotifications(true, { icon: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'})\n\nsendNotification('Hello World', { body: 'Hallo Welt' })\n\u003c/script\u003e\n```\n## 💚 License\n\nMIT License - Conner Luka Bachmann\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntevel%2Fvue-browser-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntevel%2Fvue-browser-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntevel%2Fvue-browser-notifications/lists"}