@cottagelabs/coarnotifyjs
v0.1.3
Published
This is a coarnotify JS framework
Readme
COAR Notify JS Library
This is the JavaScript implementation of the COAR Notify library, a port of the original Python library.
Installation
Install via npm:
npm i @cottagelabs/coarnotifyjsUsage
Import the main components from the package:
import {
COARNotifyClient,
COARNotifyFactory,
HttpLayer,
RequestsHttpLayer,
COARNotifyReceipt,
COARNotifyServiceBinding,
COARNotifyServerError,
COARNotifyServer,
NotifyPattern,
SummaryMixin,
NotifyTypes,
ActivityStreamsTypes,
Properties,
ValidationError,
NotifyException,a
Accept,
AnnounceEndorsement,
AnnounceRelationship,
AnnounceReview,
AnnounceServiceResult,
Reject,
RequestEndorsement,
RequestReview,
TentativelyAccept,
TentativelyReject,
UndoOffer,
UnprocessableNotification,
} from "@cottagelabs/coarnotifyjs";Testing
Run tests using:
npm testArchitecture
This library implements the COAR Notify specification based on the COAR Notify Architecture.
The core functionality is implemented in the core/ directory, with notification patterns in the patterns/ directory.
Contributing
Contributions are welcome. Please open issues or pull requests on the GitHub repository.
License
MIT License
