# is-dom

> Check if the given object is a dom node

Latest version **1.1.0** (published 2019-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-dom
pnpm add is-dom
yarn add is-dom
bun add is-dom
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-06-21 |
| First published | 2014-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/is-dom) |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30 |
| Maintainers | yoshuawuyts |
| Keywords | dom, html, is dom, dom node, dom object |

## Links

- npm: https://www.npmjs.com/package/is-dom
- Repository: https://github.com/npm-dom/is-dom
- Homepage: https://github.com/npm-dom/is-dom#readme
- Issues: https://github.com/npm-dom/is-dom/issues
- npm.io page: https://npm.io/package/is-dom

## Dependencies (2)

- [is-object](https://npm.io/package/is-object.md) ^1.0.1
- [is-window](https://npm.io/package/is-window.md) ^1.0.2

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-06-21
- 1.0.9 — 2017-02-13
- 1.0.7 — 2017-01-04
- 1.0.6 — 2017-01-04
- 1.0.5 — 2015-02-19
- 1.0.4 — 2014-10-12
- 1.0.3 — 2014-10-12
- 1.0.2 — 2014-10-05
- 1.0.1 — 2014-10-05
- 1.0.0 — 2014-10-05

## README

# is-dom
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Downloads][downloads-image]][downloads-url]

Check if the given object is a dom node.

## Installation
```sh
$ npm install is-dom
```

## Usage
```js
var isDom = require('is-dom')

isDom(window.document)
// => true
```

## License
[MIT](https://tldrlegal.com/license/mit-license)

[npm-image]: https://img.shields.io/npm/v/is-dom.svg?style=flat-square
[npm-url]: https://npmjs.org/package/is-dom
[travis-image]: https://img.shields.io/travis/npm-dom/is-dom.svg?style=flat-square
[travis-url]: https://travis-ci.org/npm-dom/is-dom
[coveralls-image]: https://img.shields.io/coveralls/npm-dom/is-dom.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/npm-dom/is-dom?branch=master
[downloads-image]: http://img.shields.io/npm/dm/is-dom.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/is-dom

---
_Source: https://npm.io/package/is-dom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
