DOM functions, methods and objects that are not part of the DOM standard.
Can be used in any environment that provides DOM implementation.
$ npm install dom-ext
For browser, you can create custom toolset with help of modules-webmake
Whether object is an instance of DOM Document
If given object is not DOM Document throw TypeError in other case return it.
Whether object is an instance of DocumentFragment
Whether object represents any DOM node
$ npm test