import Walksy from 'walksy';

If you find yourself writing while loops to find parents or manually checking nodeType , it’s time to stop. Install Walksy, chain your methods, and write cleaner, more readable DOM interaction code today.

const toc = []; const walker = new Walksy(document.body);

# Create a WalkingDetector instance detector = WalkingDetector()

: It supports a wide range of configuration inputs, including: