{"library":"dom-iterator","type":"library","category":null,"description":"dom-iterator is a JavaScript library providing a feature-rich, bidirectional iterator for traversing DOM nodes. It offers an enhanced alternative to the native `NodeIterator` API, capable of moving both forwards and backward through the DOM tree. The library allows for advanced filtering of nodes using `select` and `reject` methods based on `nodeType`, string expressions, or custom functions, and includes functionalities like `peek` for non-destructive inspection and methods to jump to `opening()` or `closing()` tags. Currently at version 1.0.2, the package appears to be unmaintained; it was last published on npm a year ago (as of April 2026) and its GitHub repository shows the last commit also from a year ago. Its primary usage pattern is CommonJS, reflecting its age, and it requires a separate DOM implementation (like `mini-html-parser`) to function in Node.js environments.","language":"javascript","status":"abandoned","version":"1.0.2","tags":["javascript","iterator","dom","mini-html-parser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dom-iterator","imports":["const iterator = require('dom-iterator');","const { JSDOM } = require('jsdom');\nconst { window } = new JSDOM('<!DOCTYPE html>');\nconst { Node } = window;"]},{"cmd":"yarn add dom-iterator","imports":[]},{"cmd":"pnpm add dom-iterator","imports":[]}],"homepage":null,"github":"https://github.com/MatthewMueller/dom-iterator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dom-iterator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/dom-iterator/compatibility"}}