$ npm install is-dom
Check if the given object is a dom node.
var isDom = require('is-dom') isDom(window.document) // => true
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE