Flexible Object Traversal
JSON →The `object-traversal` package provides a flexible and highly performant utility for depth-first or breadth-first traversal of JavaScript objects. Currently at stable version 1.0.1, the library maintains an active release cadence, with recent updates fixing minor issues after a major breaking change. Its key differentiators include exceptional speed, claiming to traverse over 20 million nodes per second and being approximately 10 times faster than popular alternatives, along with extensive configurability options for traversal order, maximum depth, and cycle handling. The library is lightweight with zero external dependencies, making it suitable for both Node.js (>=10) and browser environments, and it ships with full TypeScript support, providing robust type definitions for callbacks and options.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany