cutenode
all projects

is-mdm

Checks whether the current device is managed by MDM. Zero dependencies.

status
active
lives on
github
stars
1
last push
aug 26, 2026

A tiny JavaScript take on LGUG2Z's article about detecting corporate devices. It works on macOS and Windows, and ships for both require and import.

import isMdm from 'is-mdm';

isMdm(); // true if the device looks managed by MDM