New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@openmrs/esm-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openmrs/esm-api

The javascript module for interacting with the OpenMRS API


Version published
Weekly downloads
3.9K
increased by23.4%
Maintainers
16
Weekly downloads
 
Created

openmrs-esm-api

An OpenMRS Microfrontend helper library.

API Docs

Contents

What is this?

openmrs-esm-api is an in-browser javascript module that exports functions that interact with the OpenMRS API.

How do I use it?

import { openmrsFetch, openmrsObservableFetch, getCurrentUser, fhir } from '@openmrs/esm-api';
openmrsFetch('/ws/rest/v1/session').then(response => {
  console.log(response.data.authenticated)
}

See the API Docs for more.

Contributing / Development

Instructions for local development

FAQs

Package last updated on 01 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts