is-dom
Check if the given object is a dom node
Last updated 8 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-dom 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (5 years ago)

10 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.9                                ...           8 years ago
  • 1.0.7                                ...           8 years ago
  • 1.0.6                                ...           8 years ago
  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE