1.3.0 • Published 1 year ago

@nextcloud/notify_push v1.3.0

Weekly downloads
26
License
AGPL-3.0-or-later
Repository
github
Last release
1 year ago

@nextcloud/notify_push

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',
  },
})
1.2.0

1 year ago

1.3.0

1 year ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago