d2-greg

27.0.0-1 • Public • Published

d2

Build Status Test Coverage Code Climate npm version

==

Documentation

The documentation is temporarily available on http://d2.markionium.com

D2

The d2 library is a javascript library that abstacts away the dhis2 api and lets you use javascript models to communicate with your dhis2 server.

The models are dynamically build using the /api/schemas resource that is available through the dhis2 web api.

Models

Basic concepts

Model

Is an an instance of a model

ModelDefinition

Is a descriptive object that describes the model and is used to create Models

The Model definition contains information like - What is the endpoint for the model - What are the properties that the model has

/d2-greg/

    Package Sidebar

    Install

    npm i d2-greg

    Weekly Downloads

    1

    Version

    27.0.0-1

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • travis4dhis2