Neoclassical Philosophic Musings
Wondering what’s next for npm?Check out our public roadmap! »

is-dom

1.1.0 • Public • Published

is-dom

NPM version build status Test coverage Downloads

Check if the given object is a dom node.

Installation

$ npm install is-dom

Usage

var isDom = require('is-dom')
 
isDom(window.document)
// => true

License

MIT

Install

npm i is-dom

DownloadsWeekly Downloads

1,818,637

Version

1.1.0

License

MIT

Unpacked Size

4.22 kB

Total Files

6

Last publish

Collaborators

  • avatar