{"library":"is-dom","type":"library","category":null,"description":"The `is-dom` package provides a minimalist utility function to determine if a given JavaScript object is a DOM node. It offers a single export, `isDom`, which returns `true` for valid DOM nodes (like `document`, `HTMLElement` instances, `Text` nodes, etc.) and `false` otherwise. This library is currently at version 1.1.0 and, given its focused scope, typically experiences a very slow release cadence, with updates primarily for bug fixes or compatibility adjustments rather than new features. Its key differentiator is its extreme simplicity and singular purpose, avoiding larger DOM manipulation libraries when only a type check is required. It's often used in environments where direct DOM access is available, such as browsers or Node.js with a JSDOM environment, to ensure operations are performed on actual DOM elements.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript","dom","html","is dom","dom node","dom object"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-dom","imports":["import isDom from 'is-dom'","const isDom = require('is-dom')","import type isDom from 'is-dom'"]},{"cmd":"yarn add is-dom","imports":[]},{"cmd":"pnpm add is-dom","imports":[]}],"homepage":null,"github":"https://github.com/npm-dom/is-dom","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-dom","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/is-dom/compatibility"}}