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

feveriq

v1.1.1

Published

A secure multi-party computation health check computation model.

Downloads

44

Readme

FeverIQ

FeverIQ provides an API and SDK for using Secure Multiparty Computation (SMC) to estimate the transmission- and complication- risks relating to the SARS-CoV-2 coronavirus. Secure Multiparty Computation allows third parties to compute on sensitive data, without the unprotected data ever leaving the phone or browser. Depending on how you set things up, for example, only the data source (e.g. the patient who provided their symptoms) can see the results of the computation.

Usage

The FeverIQ API and SDK is provided as an npm package for easy incorporation with existing websites and react apps. The core functionality can be incorporated with only a few lines of code.

import feveriq from 'feveriq';

const input = {
  demographic: {
    "Age":    Integer,
    "Bmi":    Integer, /*MKS units - kg/m2 - rounded to Int*/
    "Gender": "Female" || "Male" || "Other",
    "TemperatureC": Float /*Celsius - you are responsible for converting from Fahrenheit if needed*/
    "Travel_Self": false || true, /*Have YOU traveled out of state lately?*/
    "Travel_CloseContact": false || true, /*Have you had close contact with someone else who has traveled out of state lately?*/
  },
  symptoms: {
    "Fever":                false || true,
    "Unexplained Fatigue":  false || true,
    "Dry Cough":            false || true,
    "Sneezing":             false || true,
    "Aches":                false || true,
    "Runny Nose":           false || true,
    "Sore Throat":          false || true,
    "Diarrhea":             false || true,
    "Headache":             false || true,
    "Trouble Breathing":    false || true,
    "Loss of smell":        false || true,
    "Unexplained Allergies":false || true,
    "Hallucinations":       false || true,
    "Vomiting":             false || true,
    "Blue Toes":            false || true,
    "Skipped Meals":        false || true,
    "COVID-19 in household":false || true ,
    "COVID-19 test result": null || false || true,
    "COVID-19 test type":   "PCR" || "IMMUNO",
  },
  comorbidities: {
    "Asthma":                 false || true,
    "Cancer":                 false || true,
    "Chronic Kidney Disease": false || true,
    "COPD":                   false || true,
    "Cystic Fibrosis":        false || true,
    "Diabetes":               false || true,
    "Heart Disease":          false || true,
    "Hepatitis":              false || true,
    "High Blood Pressure":    false || true,
    "HIV":                    false || true,
    "Liver Cirrhosis":        false || true,
    "Organ Transplant":       false || true,
    "SCID":                   false || true,
    "Sickle Cell":            false || true,
    "Smoking/Vaping":         false || true,
  }
}

Using the API

const api_key = "YOUR_API_KEY"; // Obtained from https://healthcheck.feveriq.com/settings

feveriq.api_key(api_key);
feveriq.input(input);
feveriq.Main().then(res => console.log(res));

Note: Our system will automatically set missing symptoms or values to false.

Example of standard output

{
  personalScore: 3.5,        /*risk to self if infected*/
  personalRisk: 'Normal',    /*risk to self if infected {Normal, Elevated, High}*/
  testScore: 0.129,          /*main SARS scoring algo - if > CP1_ct1, elevated likelihood of testing positive if tested*/
  transmissionRisk: 'Normal',/*{Normal, Elevated, High}*/
  recommendToTest: false,    /*Should you get tested?*/
  quarantineScore: 0,        /*quarantine length suggestion*/
  quarantineDuration: 0,     /*days of suggested quarantine*/
  timesStamp: 1593546575820, /*unix time when estimates were generated*/
  integrityHash: 'fa5f6c9ffa5f6c9ffa5f6c9f', /*used for regulatory compliance*/
  uniqueComputeID: '74213c74-39c6-4c36-bbdd-15216f24ac96', /*unique identifier of computation*/
  status: 201,
}

Demo

The FeverIQ site demonstrates some of the core features of the SDK. Please visit the Health Check site to learn more.

Support

For more information and support, please contact [email protected].

V1.1.1 (November 10, 2020)

  • v1.1.1 release (November 10, 2020)

Updated the quarantine duration

  • v1.0.24 release (September 25, 2020)

Fixed bug

  • v1.0.23 release (August 3, 2020)

Updated models

  • v1.0.22 release (July 29, 2020)

Added travel questions

  • v1.0.21 release (July 28, 2020)

Fixed bugs

  • v1.0.17 release (July 27, 2020)

Code refactoring, better variable names, improved documentation

  • v1.0.13 release (July 21, 2020)

Remove Blood Type A and Blood Type B risk factor for complications

  • v1.0.12 release (July 14, 2020)

Add smoking/vaping risk factor for complications

  • v1.0.11 release (July 10, 2020)

Improve documentation, restructure code

  • v1.0.0 release

First public release