0.0.6 • Published 10 months ago

@elonehoo/dom-traversal v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

dom-traversal

NPM version

Iteratively walk any DOM node.

Install

# npm
npm install --save-dev @elonehoo/dom-traversal

# yarn
yarn add --dev @elonehoo/dom-traversal

# pnpm
pnpm install --save-dev @elonehoo/dom-traversal

Usage

import  iterativelyWalk  from '@elonehoo/dom-traversal'

iterativelyWalk(document.body.childNodes,function (node:Node){
  console.log("node", node)
})

License

MIT License © 2022-PRESENT Elone Hoo

0.0.5

10 months ago

0.0.6

10 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago