🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

dom-node-iterator

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
d

dom-node-iterator

A portable NodeIterator polyfill.

5.0.0
latest
73

Supply Chain Security

100

Vulnerability

77

Quality

76

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Version published
Weekly downloads
452
3.43%
Maintainers
1
Weekly downloads
 
Created
Issues
1

NodeIterator

The dom-node-iterator package provides a spec-compliant implementation of NodeIterator for environments that lack an implementation or conform to an older specification.

In environments that implement an older specification or do not implement the specification at all, behavior in the presence of DOM mutation is undefined.

This package implements the es-shim API interface. It works in an ES5-supported environment with a DOM implementation and complies with the spec.

Installation

Using npm:

npm install dom-node-iterator

Usage

// Install support, polluting the global namespace.
require('dom-node-iterator/auto');
var iter = document.createNodeIterator(document.body);

// Get the best implementation, without polluting the global namespace.
var createNodeIterator = require('dom-node-iterator');
var iter = createNodeIterator.call(document, document.body);

FAQs

Package last updated on 01 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts