{"id":15164354,"url":"https://github.com/nextcloud-libraries/notify_push-client","last_synced_at":"2025-03-30T00:30:28.980Z","repository":{"id":54372585,"uuid":"329974287","full_name":"nextcloud-libraries/notify_push-client","owner":"nextcloud-libraries","description":"A javascript client for notify_push events","archived":false,"fork":false,"pushed_at":"2024-10-19T01:55:32.000Z","size":611,"stargazers_count":2,"open_issues_count":5,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-21T11:52:35.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextcloud-libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/AGPL-3.0-or-later.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-15T17:08:22.000Z","updated_at":"2024-07-15T16:33:42.000Z","dependencies_parsed_at":"2024-02-09T05:52:33.011Z","dependency_job_id":"1fb67c4c-fa71-4337-a4ef-2f63ae2288c8","html_url":"https://github.com/nextcloud-libraries/notify_push-client","commit_stats":null,"previous_names":["nextcloud-libraries/notify_push-client","icewind1991/notify_push-client"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnotify_push-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnotify_push-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnotify_push-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnotify_push-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud-libraries","download_url":"https://codeload.github.com/nextcloud-libraries/notify_push-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262490,"owners_count":20749170,"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-09-27T03:04:33.617Z","updated_at":"2025-03-30T00:30:28.545Z","avatar_url":"https://github.com/nextcloud-libraries.png","language":"TypeScript","readme":"\u003c!--\n  - SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: AGPL-3.0-or-later\n--\u003e\n# @nextcloud/notify_push\n\n[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud-libraries/notify_push-client)](https://api.reuse.software/info/github.com/nextcloud-libraries/notify_push-client)\n[![npm](https://img.shields.io/npm/v/@nextcloud/notify_push.svg)](https://www.npmjs.com/package/@nextcloud/notify_push)\n\nA javascript client for notify_push events for Nextcloud apps.\n\n## Installation\n\n```sh\nnpm i @nextcloud/notify_push\n```\n\n## Usage\n\n```js\nimport { listen } from '@nextcloud/notify_push'\n\n// Using pre_auth request for web apps\nlisten('notify_file', () =\u003e {\n\tconsole.log('A File has been changed')\n})\n\n// Using credentials for clients\nlisten('notify_file', () =\u003e {\n  console.log('A File has been changed')\n}, {\n  credentials: {\n    username: 'alice',\n    password: 'app-password',\n  },\n})\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud-libraries%2Fnotify_push-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud-libraries%2Fnotify_push-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud-libraries%2Fnotify_push-client/lists"}