npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2024 – Pkg Stats / Ryan Hefner

@d4l/js-sdk

v6.0.0

Published

<p> <a href="https://gitmoji.carloscuesta.me"> <img src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square" alt="Gitmoji"> </a> </p>

Downloads

83

Readme

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 [email protected].

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.