Object Traversal and Transformation

JSON →
library 0.6.11 ·javascript abandoned
verified May 27, 2026

The `traverse` package provides utility functions for deep traversal and transformation of JavaScript objects. It allows developers to recursively walk through object graphs, including arrays and nested objects, and perform operations such as in-place modification, deep cloning, and collection of specific nodes. Key features include explicit handling of circular references, various traversal methods like `map`, `forEach`, `reduce`, `paths`, and `nodes`, and a rich `this` context within callbacks providing information about the current node, its parent, path, and depth. The current stable version is 0.6.11, last updated several years ago, indicating an inactive release cadence. Its primary differentiator is its robust context object during traversal and explicit circular reference management. It is primarily a CommonJS module, which may require specific handling in modern ESM-only environments.

total hits 11
actors 5 distinct systems
last hit 7d ago AhrefsBot
GPTBot
5
Script
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France