# @hisp-amr/api

> DHIS2 base API functions

Latest version **0.0.8** (published 2019-09-17) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @hisp-amr/api
pnpm add @hisp-amr/api
yarn add @hisp-amr/api
bun add @hisp-amr/api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2019-09-17 |
| First published | 2019-09-17 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | teug91 |

## Links

- npm: https://www.npmjs.com/package/@hisp-amr/api
- Repository: https://github.com/hispindia/amr-apps
- Homepage: https://github.com/hispindia/amr-apps#readme
- Issues: https://github.com/hispindia/amr-apps/issues
- npm.io page: https://npm.io/package/@hisp-amr/api

## Recent versions

- 0.0.8 (latest) — 2019-09-17

## README

# api

## Installation

```bash
yarn add @hisp-amr/api
# or
npm i @hisp-amr/api
```

## Environment variables
`REACT_APP_DHIS2_BASE_URL` and `REACT_APP_DHIS2_API_VERSION` needs to be set.

### Example
```dotenv
# [root_dir]/.env
REACT_APP_DHIS2_API_VERSION=30
```

```dotenv
# [root_dir]/.env.development
REACT_APP_DHIS2_BASE_URL=https://amrtest.icmr.org.in/amr
```

```dotenv
# [root_dir]/.env.production
REACT_APP_DHIS2_BASE_URL=../../..
```

## Usage
Coming soon...

---
_Source: https://npm.io/package/@hisp-amr/api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
