Socket
Book a DemoInstallSign in
Socket

@nextcloud/notify_push

Package Overview
Dependencies
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextcloud/notify_push

<!-- - SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors - SPDX-License-Identifier: AGPL-3.0-or-later --> # @nextcloud/notify_push

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
9
Created
Source

@nextcloud/notify_push

REUSE status npm

A javascript client for notify_push events for Nextcloud apps.

Installation

npm i @nextcloud/notify_push

Usage

import { listen } from '@nextcloud/notify_push'

// Using pre_auth request for web apps
listen('notify_file', () => {
	console.log('A File has been changed')
})

// Using credentials for clients
listen('notify_file', () => {
  console.log('A File has been changed')
}, {
  credentials: {
    username: 'alice',
    password: 'app-password',
  },
})

Keywords

nextcloud

FAQs

Package last updated on 22 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts