hds-lib
LibraryGitHub
The core JavaScript/TypeScript library powering all HDS applications.
Key Modules
Section titled “Key Modules”- HDSModel — loads and provides access to the HDS data model (items, streams, event types, datasources)
- appTemplates — AppManagingAccount, Collector, CollectorRequest patterns for doctor/researcher apps
- HDSSettings — user settings singleton (theme, locale, timezone, date format)
- HDSProfile — user profile management
- eventToShortText — shared event formatter for diary display
- Pryv integration — re-exports and patches for Pryv.io client library
Package Info
Section titled “Package Info”- ESM module (
"type": "module") - TypeScript source in
ts/, compiled tojs/viapreparescript - Published as git dependency:
git+https://github.com/healthdatasafe/hds-lib-js.git