Receive push notifications from Nextcloud
Перейти к файлу
Christoph Wurst 63641cd965
Update changelog for v0.0.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-08 10:08:25 +02:00
lib Adapt to server API 2020-07-08 09:20:52 +02:00
test Initial implementation 2020-05-18 15:18:08 +02:00
.gitignore Initial implementation 2020-05-18 15:18:08 +02:00
.npmignore Initial implementation 2020-05-18 15:18:08 +02:00
.travis.yml Initial implementation 2020-05-18 15:18:08 +02:00
CHANGELOG.md Update changelog for v0.0.1 2020-07-08 10:08:25 +02:00
LICENSE Initial implementation 2020-05-18 15:18:08 +02:00
README.md Initial implementation 2020-05-18 15:18:08 +02:00
babel.config.js Adapt to server API 2020-07-08 09:20:52 +02:00
package-lock.json Adapt to server API 2020-07-08 09:20:52 +02:00
package.json Adapt to server API 2020-07-08 09:20:52 +02:00
tsconfig.json Initial implementation 2020-05-18 15:18:08 +02:00

README.md

@nextcloud/push

Build Status npm Documentation

Receive push notifications from Nextcloud.

Installation

npm i -S @nextcloud/push

Usage

import { connect } from '@nextcloud/push'

const connection = connect(
    'mail',
    'folder/INBOX',
    'gerda',
    e => console.info(e)
)

connection.close()