Preparing for system design interviews?  Try bugzed.com →

is-dom DOM Node Check

JSON →
library 1.1.0 ·javascript maintenance
verified Jun 17, 2026

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.

total hits 4
actors 2 distinct systems
last hit 17d ago AhrefsBot
Script
1

top countries 🇨🇦 Canada · 🇩🇪 Germany