# is-dom-node-list

> ES2015 module for type checking DOM NodeLists

Latest version **1.2.1** (published 2018-01-11) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2018-01-11 |
| First published | 2018-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Julian Lloyd |
| Maintainers | jlmakes |
| Keywords | html, element, dom, node |

## Links

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

## Dependencies (1)

- [is-dom-node](https://npm.io/package/is-dom-node.md) ^1.0.4

## 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.2.1 (latest) — 2018-01-11
- 1.2.0 — 2018-01-11
- 1.1.0 — 2018-01-11
- 1.0.2 — 2018-01-10
- 1.0.1 — 2018-01-06
- 1.0.0 — 2018-01-06

## README

# is-dom-node-list

<a href="https://travis-ci.org/jlmakes/is-dom-node-list"> <img src="https://img.shields.io/travis/jlmakes/is-dom-node-list.svg" alt="Build status"> </a>
<a href="https://coveralls.io/github/jlmakes/is-dom-node-list"> <img src="https://img.shields.io/coveralls/jlmakes/is-dom-node-list.svg" alt="Coverage"> </a>
<a href="https://www.npmjs.com/package/is-dom-node-list"> <img src="https://img.shields.io/npm/v/is-dom-node-list.svg" alt="Version"> </a>
<img src="https://img.shields.io/badge/min+gzip-0.3KB-blue.svg" alt="0.3KB min+gzip">
<a href="https://github.com/jlmakes/is-dom-node-list/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-1283c3.svg" alt="MIT License"> </a>

## Installation

### Browser

A simple and fast way to get started is to include this script on your page:

```html
<script src="https://unpkg.com/is-dom-node-list"></script>
```

This will create the global variable `isDomNodeList`.

### Module

```bash
npm install is-dom-node-list
```

#### CommonJS

```js
const isDomNodeList = require('is-dom-node-list')
```

#### ES2015

```js
import isDomNodeList from 'is-dom-node-list'
```

## Usage

```js
const nodeList = document.querySelectorAll('.cookies')
isDomNodeList(nodeList)
// => true

const nodeArray = Array.prototype.slice.call(nodeList)
isDomNodeList(nodeArray)
// => false
```

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