Socket
Book a DemoInstallSign in
Socket

@openmrs/esm-devtools-app

Package Overview
Dependencies
Maintainers
13
Versions
1396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openmrs/esm-devtools-app

Dev tools for frontend devs using OpenMRS

latest
Source
npmnpm
Version
8.0.0
Version published
Weekly downloads
1.3K
1.79%
Maintainers
13
Weekly downloads
 
Created
Source

openmrs-esm-devtools

openmrs-esm-devtools is an in-browser javascript module that provides a UI for developers writing frontend code.

esm-devtools

Purpose

The devtools allow you to override any javascript module to point to any url. This is useful for developing features and for debugging problems, because you can tell the browser to load one module from your localhost while keeping all other modules using the default version in the import map.

Installation / Usage

The devtools are registered as a single-spa application that creates a gray or red rectangular button near the bottom right of the screen. The rectangular button will only show up if you run the following command in the browser console:

localStorage.setItem('openmrs:devtools', true)

Now refresh the page and you'll see the rectangle. Note that when the rectangle is red that it means that you have an active override.

Implementation notes

openmrs-esm-devtools is using import-map-overrides to accomplish this behavior.

Usage

If you prefer using the browser console instead of a UI to manage module overrides, check out the documentation in that github project.

Keywords

openmrs

FAQs

Package last updated on 29 Aug 2025

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