UNPKG

ldn-inbox-server

Version:

A demonstration Event Notifications Inbox server

43 lines (42 loc) 1.88 kB
{ "name": "ldn-inbox-server", "version": "1.8.5", "description": "A demonstration Event Notifications Inbox server", "main": "lib/index.js", "author": "Patrick Hochstenbach <Patrick.Hochstenbach@UGent.be>", "repository": "https://github.com/MellonScholarlyCommunication/ldn-inbox-server", "scripts": { "server": "npx ldn-inbox-server start-server", "demo-post": "curl -X POST -H 'Content-Type: application/ld+json' --data-binary '@examples/offer.jsonld' http://localhost:8000/inbox/", "handle-inbox": "npx ldn-inbox-server handler @inbox -hn @handler/notification_handler/accept.js", "handle-outbox": "npx ldn-inbox-server handler @outbox -hn @handler/notification_handler/send_notification.js", "handle-eventlog": "npx ldn-inbox-server handler @inbox -hn @handler/notification_handler/eventlog.js", "handle-inbox-multi": "npx ldn-inbox-server handler @inbox -hn @handler/notification_handler/multi.js", "handle-outbox-multi": "npx ldn-inbox-server handler @outbox -hn @handler/notification_handler/multi.js", "handle-inbox-multi-loop": "npx ldn-inbox-server handler @inbox -hn @handler/notification_handler/multi.js --loop", "real-clean": "rm -rf error/* inbox/* outbox/* public/events/* public/events/log/* public/artifacts/artifact1 public/artifacts/artifact2 public/artifacts/*.jsonld*" }, "bin": "./bin/ldn-inbox-server.js", "keywords": [ "ldn", "event notifications" ], "license": "MIT", "dependencies": { "chokidar": "^3.6.0", "commander": "^12.0.0", "dotenv": "^16.4.5", "exponential-backoff": "^3.1.1", "json5": "^2.2.3", "jsonpath": "^1.1.1", "jsonschema": "^1.4.1", "md5": "^2.3.0", "mellon-server": "^1.1.0", "node-fetch": "1.7.3", "piscina": "^4.4.0", "proper-lockfile": "^4.1.2", "upath": "^2.0.1", "uuid": "^9.0.1", "yaml": "^2.5.0" } }