6.0.0 • Published 2 years ago

@d4l/js-sdk v6.0.0

Weekly downloads
281
License
See license in LI...
Repository
github
Last release
2 years ago

Data4Life Web SDK

This is the Javascript Web SDK of Data4Life, which encapsulates the backend functionality of the platform and enables end-to-end encryption of patient data. It allows users to store sensitive health data on the secure Data4Life platform and share it to authorized people and applications.

For more information about the platform please visit our website.

For more information about using the endpoints and methods provided by the SDK, read the documents in the docs folder in this repository.

Requirements

To use the SDK, you need to create a client id from Data4Life. Please get in touch with us at info@data4life.care.

Development and build

Prerequisites

  • node, npm

In the directory run:

npm install

Building

This SDK uses rollup for its bundling task. Building the SDK bundle is done with:

 npm run build

Watching

During development, you can let rollup watch for file changes and rebuild your bundle using:

npm run watch

Import the built file in your project to start using the SDK.

Tests

The SDK uses karma, mocha, sinon, and chai for unit tests.

To run all tests, execute:

npm test

It uses eslint to check and report incorrect indentations and patterns in the project, bundles the project, run unit tests and makes a coverage report.

To run the unit tests only, execute:

npm run karma:prod:web

During development, you can watch for any file changes and rerun the tests on any change using:

npm run karma:web

To run eslint execute:

npm run lint

Development Process

Branches

Use the naming convention below for branches: <github-username>/<do-this>

Releases

Releases are automatically created when the version in the package.json is increased. Afterwards the release notes needs to be added manually.

License

(c) 2021 D4L Data4Life gGmbH / All rights reserved. Please refer to our License for further details.

Code of conduct

Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.

Work in progress

This document is still a work in progress. We are working on adding contributing guidelines and other documents.

6.0.0

2 years ago

6.0.0-beta.0

2 years ago

5.12.0

2 years ago

5.11.0

2 years ago

5.10.0

2 years ago

5.9.1

3 years ago

5.9.0

3 years ago

5.8.1

3 years ago

5.8.0

3 years ago

5.7.0

3 years ago

5.6.0

3 years ago

5.6.1

3 years ago

5.5.1

3 years ago

5.4.0

3 years ago

5.3.2

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

5.0.0-alpha.1

3 years ago

5.0.0-alpha.0

3 years ago

4.0.1

3 years ago

4.0.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.6.0

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago