The epidemiology package for JavaScript [![License: GPL--3.0](https://img.shields.io/github/license/epispot/EpiJS?style=flat-square)](https://github.com/epispot/epijs/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@epispot/epijs?style=flat-square) ![npm downloads](https://img.shields.io/npm/dt/@epispot/epijs?color=%232c5fde&label=npm%20downloads&style=flat-square) ](https://npmjs.org/package/@epispot/epijs) [![GitHub issues](https://img.shields.io/github/issues/epispot/epijs?style=flat-square) ](https://github.com/epispot/epijs/issues/) [![GitHub pull requests](https://img.shields.io/github/issues-pr/epispot/epijs?style=flat-square) ](https://github.com/epispot/EpiJS/pulls) [![Build Status](https://img.shields.io/github/workflow/status/epispot/EpiJS/Build?label=Build&logo=GitHub&logoColor=white&style=flat-square)](https://github.com/epispot/EpiJS/actions/workflows/build.yml)
EpiJS is a epidemiological modelling package for JavaScript with built-in support for SIR-based models including SIR, SEIR, SEIRD, and other models, along with allowing you to create custom models, model community spread through SIR based models, and more.
NodeJS:
npm install @epispot/epijs
yarn add @epispot/epijs
Require:
const epijs = require('@epispot/epijs')
\ On the web:
<script src="https://cdn.jsdelivr.net/gh/epispot/EpiJS/web/index.min.js"></script>
Clone the repo:
git clone https://github.com/epispot/epijs.git
cd EpiJS
npm install
See CONTRIBUTING.md
for details.
To run tests, run the following command
npm run test
epispot - https://github.com/epispot/epispot
CovaSim - https://covasim.org
Homepage - https://epi.js.org
Demo - https://epi.js.org/demo/
For support, consult the docs or submit a discussion on the repo