{"id":18780288,"url":"https://github.com/jlmakes/is-dom-node-list","last_synced_at":"2025-04-13T11:44:55.125Z","repository":{"id":57277086,"uuid":"116492389","full_name":"jlmakes/is-dom-node-list","owner":"jlmakes","description":"ES module for type checking DOM NodeLists.","archived":false,"fork":false,"pushed_at":"2018-01-30T19:51:15.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T02:51:18.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlmakes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-06T15:10:09.000Z","updated_at":"2020-02-10T23:40:36.000Z","dependencies_parsed_at":"2022-09-06T05:21:18.179Z","dependency_job_id":null,"html_url":"https://github.com/jlmakes/is-dom-node-list","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmakes%2Fis-dom-node-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmakes%2Fis-dom-node-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmakes%2Fis-dom-node-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmakes%2Fis-dom-node-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlmakes","download_url":"https://codeload.github.com/jlmakes/is-dom-node-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710348,"owners_count":21149185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:25:38.397Z","updated_at":"2025-04-13T11:44:55.106Z","avatar_url":"https://github.com/jlmakes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-dom-node-list\n\n\u003ca href=\"https://travis-ci.org/jlmakes/is-dom-node-list\"\u003e \u003cimg src=\"https://img.shields.io/travis/jlmakes/is-dom-node-list.svg\" alt=\"Build status\"\u003e \u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/jlmakes/is-dom-node-list\"\u003e \u003cimg src=\"https://img.shields.io/coveralls/jlmakes/is-dom-node-list.svg\" alt=\"Coverage\"\u003e \u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/is-dom-node-list\"\u003e \u003cimg src=\"https://img.shields.io/npm/v/is-dom-node-list.svg\" alt=\"Version\"\u003e \u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/min+gzip-0.3_kB-blue.svg\" alt=\"0.3 kB min+gzip\"\u003e\n\u003ca href=\"https://github.com/jlmakes/is-dom-node-list/blob/master/LICENSE\"\u003e \u003cimg src=\"https://img.shields.io/badge/license-MIT-1283c3.svg\" alt=\"MIT License\"\u003e \u003c/a\u003e\n\n## Installation\n\n### Browser\n\nA simple and fast way to get started is to include this script on your page:\n\n```html\n\u003cscript src=\"https://unpkg.com/is-dom-node-list\"\u003e\u003c/script\u003e\n```\n\nThis will create the global variable `isDomNodeList`.\n\n### Module\n\n```bash\nnpm install is-dom-node-list\n```\n\n#### CommonJS\n\n```js\nconst isDomNodeList = require('is-dom-node-list')\n```\n\n#### ES2015\n\n```js\nimport isDomNodeList from 'is-dom-node-list'\n```\n\n## Usage\n\n```js\nconst nodeList = document.querySelectorAll('.cookies')\nisDomNodeList(nodeList)\n// =\u003e true\n\nconst nodeArray = Array.prototype.slice.call(nodeList)\nisDomNodeList(nodeArray)\n// =\u003e false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlmakes%2Fis-dom-node-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlmakes%2Fis-dom-node-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlmakes%2Fis-dom-node-list/lists"}