1.1.0 • Published 11 years ago
hapi-dropbox-webhooks v1.1.0
hapi-dropbox-webhooks
A Hapi plugin for receiving notifications from the Dropbox webhooks API.
Installation
npm install hapi-dropbox-webhooksUsage
var DropboxWebhooks = require('hapi-dropbox-webhooks')
server.register({
register: DropboxWebhooks,
options: options,
})Options
appSecretStringThe app secret. Required.
onNotificationFunctionThe callback to be invoked when a notification is received. The function has the signature
function(payload). Required.pathStringThe path to listen on. Required.
Tests
$ npm testLicense
See LICENSE.
