is-dom Check if the given object is a dom node. Installation $ npm install is-domUsage var isDom = require('is-dom') isDom(window.document) // => trueLicense MIT