@jeremiah_tenbrink/for-every-node
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Welcome to @jeremiah_tenbrink/for-every-node 👋

Version Documentation Maintenance License: MIT

Function that will call a callback for every child node. Uses a queue , not recursion.

Install

With Npm

npm install @jeremiah_tenbrink/for-every-node

With Yarn

yarn add @jeremiah_tenbrink/for-every-node

Usage

import {callForEveryNode} from "@jeremiah_tenbrink/for-every-node";

callForEveryNode(htmlElementWithChildNodes, (el => {
console.log(el)
}))

Author

👤 Jeremiah Tenbrink

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Jeremiah Tenbrink.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Readme

Keywords

none

Package Sidebar

Install

npm i @jeremiah_tenbrink/for-every-node

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

187 kB

Total Files

27

Last publish

Collaborators

  • jeremiah_tenbrink